Skip to content

Commit 70c04b9

Browse files
committed
feat: add input with addon in input story
1 parent b1d531c commit 70c04b9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

stories/Input.stories.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { sectionName } from "./sectionName";
33
import { getStoryFactory } from "./getStory";
44
import { assert } from "tsafe/assert";
55
import type { Equals } from "tsafe";
6+
import Button from "../dist/Button";
7+
import React from "react";
68

79
const { meta, getStory } = getStoryFactory({
810
sectionName,
@@ -131,3 +133,8 @@ export const WithPlaceholder = getStory({
131133
"placeholder": "https://"
132134
}
133135
});
136+
137+
export const WithButtonAddon = getStory({
138+
"label": "Label champs de saisie",
139+
"addon": <Button>Valider</Button>
140+
});

0 commit comments

Comments
 (0)