Skip to content

Commit d8726e9

Browse files
committed
test: add hasValue condition to TextField stories
1 parent ac8a74e commit d8726e9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/stories/TextField.stories.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ const conditionMap = {
4141
invalid: true,
4242
},
4343
},
44+
hasValue: {
45+
false: {
46+
value: "",
47+
},
48+
true: {
49+
value: "Value",
50+
},
51+
},
4452
};
4553

4654
const CommonStoryTemplate: Story = {

0 commit comments

Comments
 (0)