diff --git a/core/src/components/searchbar/readme.md b/core/src/components/searchbar/readme.md index 49c9e69fc8..5edb1ff281 100644 --- a/core/src/components/searchbar/readme.md +++ b/core/src/components/searchbar/readme.md @@ -17,6 +17,15 @@ A Searchbar should be used instead of an input to search lists. A clear button i + + + + + + + + + @@ -30,7 +39,7 @@ A Searchbar should be used instead of an input to search lists. A clear button i - + @@ -54,6 +63,15 @@ A Searchbar should be used instead of an input to search lists. A clear button i + + + + + + + + + @@ -67,7 +85,7 @@ A Searchbar should be used instead of an input to search lists. A clear button i - + @@ -96,6 +114,15 @@ const Example: React.SFC<{}> = () => ( <> {/*-- Default Searchbar --*/} + + {/*-- Searchbar with cancel button always shown --*/} + + + {/*-- Searchbar with cancel button never shown --*/} + + + {/*-- Searchbar with cancel button shown on focus --*/} + {/*-- Searchbar with danger color --*/} @@ -110,7 +137,7 @@ const Example: React.SFC<{}> = () => ( {/*-- Searchbar with a cancel button and custom cancel button text --*/} - + {/*-- Searchbar with a custom debounce --*/} @@ -138,6 +165,15 @@ export default Example;