Skip to content

Commit

Permalink
story: Select, fix typo in link and import
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Mar 4, 2024
1 parent 811a84c commit 3c2b7e7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions stories/SelectNext.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ import type { Equals } from "tsafe";
const { meta, getStory } = getStoryFactory<SelectProps<SelectProps.Option[]>>({
sectionName,
"wrappedComponent": { "SelectNext": Select },
"doHideImportInstruction": true,
"description": `
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/bandeau-d-information-importante)
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/Notice.tsx)
\`\`\`tsx
import { Select } from "@codegouvfr/react-dsfr/SelectNext";
\`\`\`
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/liste-deroulante)
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/SelectNext.tsx)
> NOTE: This component is still in beta, it may change in the future.
Expand Down

0 comments on commit 3c2b7e7

Please sign in to comment.