Skip to content

Commit 3c2b7e7

Browse files
committed
story: Select, fix typo in link and import
1 parent 811a84c commit 3c2b7e7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

stories/SelectNext.stories.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,15 @@ import type { Equals } from "tsafe";
77
const { meta, getStory } = getStoryFactory<SelectProps<SelectProps.Option[]>>({
88
sectionName,
99
"wrappedComponent": { "SelectNext": Select },
10+
"doHideImportInstruction": true,
1011
"description": `
11-
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/bandeau-d-information-importante)
12-
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/Notice.tsx)
12+
\`\`\`tsx
13+
14+
import { Select } from "@codegouvfr/react-dsfr/SelectNext";
15+
16+
\`\`\`
17+
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/liste-deroulante)
18+
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/SelectNext.tsx)
1319
1420
> NOTE: This component is still in beta, it may change in the future.
1521

0 commit comments

Comments
 (0)