diff --git a/plugins/search-react/src/components/SearchBar/SearchBar.stories.tsx b/plugins/search-react/src/components/SearchBar/SearchBar.stories.tsx index 88aed35f8d..559ae1776e 100644 --- a/plugins/search-react/src/components/SearchBar/SearchBar.stories.tsx +++ b/plugins/search-react/src/components/SearchBar/SearchBar.stories.tsx @@ -44,7 +44,7 @@ export default { export const Default = () => { return ( - + ); @@ -52,15 +52,23 @@ export const Default = () => { export const CustomPlaceholder = () => { return ( - + ); }; +export const CustomLabel = () => { + return ( + + + + ); +}; + export const Focused = () => { return ( - + {/* decision up to adopter, read https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-autofocus.md#no-autofocus */} {/* eslint-disable-next-line jsx-a11y/no-autofocus */} @@ -70,7 +78,7 @@ export const Focused = () => { export const WithoutClearButton = () => { return ( - + ); @@ -80,7 +88,7 @@ const useStyles = makeStyles({ search: { display: 'flex', justifyContent: 'space-between', - padding: '8px 0', + padding: '8px 16px', borderRadius: '50px', margin: 'auto', },