Skip to content

Commit 12cbd99

Browse files
committed
Fix PasswordInput import
1 parent 5f16597 commit 12cbd99

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

stories/blocks/PasswordInput.stories.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import { sectionName } from "./sectionName";
55
const { meta, getStory } = getStoryFactory({
66
sectionName,
77
"wrappedComponent": { PasswordInput },
8-
"description": `- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/mot-de-passe)
8+
"description": `\`import { PasswordInput } from "@codegouvfr/react-dsfr/blocks/PasswordInput"\`
9+
10+
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/mot-de-passe)
911
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/blocks/PasswordInput.tsx) `,
1012
"argTypes": {
1113
"disabled": {
@@ -17,7 +19,8 @@ const { meta, getStory } = getStoryFactory({
1719
This is where you pass the \`name\` prop or \`onChange\` for example.`,
1820
"control": { "type": null }
1921
}
20-
}
22+
},
23+
"doHideImportInstruction": true
2124
});
2225

2326
export default meta;

0 commit comments

Comments
 (0)