From 0b78a00afb49ba40c1fc12ced80cfff01b0492ce Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Tue, 11 Jun 2019 11:28:15 -0400 Subject: [PATCH] update usage docs --- core/src/components/searchbar/readme.md | 44 +++++++++++++++++-- .../src/components/searchbar/usage/angular.md | 11 ++++- .../components/searchbar/usage/javascript.md | 11 ++++- core/src/components/searchbar/usage/react.md | 11 ++++- core/src/components/searchbar/usage/vue.md | 11 ++++- 5 files changed, 80 insertions(+), 8 deletions(-) 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;