Skip to content

Commit

Permalink
Improve storybook formating
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Jul 6, 2023
1 parent 58b4233 commit 64d92fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stories/getStory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ export function getStoryFactory<Props extends Record<string, any>>(params: {
: [
`\`\`\`tsx `,
` `,
`import { ${componentName} } from "@codegouvfr/react-dsfr/${componentName}"\``,
`import { ${componentName} } from "@codegouvfr/react-dsfr/${componentName}";`,
` `,
`\`\`\``
]),
...(description === undefined ? [] : [description])
].join(" \n")
].join("\n")
}
},
"viewMode": "docs"
Expand Down

0 comments on commit 64d92fd

Please sign in to comment.