Skip to content

Commit 87bbfd8

Browse files
authored
adding an autofocus story to hexcolorfield (#1529)
1 parent 1cdfdc4 commit 87bbfd8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/@react-spectrum/color/stories/HexColorField.stories.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ storiesOf('HexColorField', module)
6464
value="#FF00AA"
6565
onChange={action('change')} />
6666
)
67+
)
68+
.add(
69+
'autofocus',
70+
() => render({autoFocus: true})
6771
);
6872

6973
function ControlledHexColorField(props: any = {}) {

0 commit comments

Comments
 (0)