From 9b9aab9f2b9265f52ef0b8cef4fe3a308ffc0027 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Tue, 10 Apr 2018 18:25:15 -0400 Subject: [PATCH] docs(badge): add usage --- core/src/components/badge/readme.md | 19 ---------------- core/src/components/badge/usage/angular.md | 22 +++++++++++++++++++ core/src/components/badge/usage/javascript.md | 22 +++++++++++++++++++ 3 files changed, 44 insertions(+), 19 deletions(-) create mode 100644 core/src/components/badge/usage/angular.md create mode 100644 core/src/components/badge/usage/javascript.md diff --git a/core/src/components/badge/readme.md b/core/src/components/badge/readme.md index b52ace9f75..d782f806d6 100644 --- a/core/src/components/badge/readme.md +++ b/core/src/components/badge/readme.md @@ -2,25 +2,6 @@ Badges are inline block elements that usually appear near another element. Typically they contain a number or other characters. They can be used as a notification that there are additional items associated with an element and indicate how many items there are. -```html -99 - - -11 -22 -33 -44 -55 -66 - - - - 11 - My Item - 22 - -``` - diff --git a/core/src/components/badge/usage/angular.md b/core/src/components/badge/usage/angular.md new file mode 100644 index 0000000000..92e8dd5c44 --- /dev/null +++ b/core/src/components/badge/usage/angular.md @@ -0,0 +1,22 @@ +```html + +99 + + +11 +22 +33 +44 +55 +66 +77 +88 +99 + + + + 11 + My Item + 22 + +``` \ No newline at end of file diff --git a/core/src/components/badge/usage/javascript.md b/core/src/components/badge/usage/javascript.md new file mode 100644 index 0000000000..92e8dd5c44 --- /dev/null +++ b/core/src/components/badge/usage/javascript.md @@ -0,0 +1,22 @@ +```html + +99 + + +11 +22 +33 +44 +55 +66 +77 +88 +99 + + + + 11 + My Item + 22 + +``` \ No newline at end of file