Skip to content

Commit

Permalink
Create new story for mobile alignment explorations
Browse files Browse the repository at this point in the history
  • Loading branch information
lgriffee authored and ssetem committed Apr 12, 2024
1 parent 46d5c63 commit 7488de4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions polaris-react/src/components/TextField/TextField.stories.tsx
Expand Up @@ -1066,3 +1066,18 @@ export function WithLoading() {
/>
);
}

export function MobileExploration() {
const [value, setValue] = useState('Jaded Pixel');

const handleChange = useCallback((newValue) => setValue(newValue), []);

return (
<TextField
label="Store name"
value={value}
onChange={handleChange}
autoComplete="off"
/>
);
}

0 comments on commit 7488de4

Please sign in to comment.