src
1 year ago
badges.stories.js
4 years ago
components.stories.js
4 years ago
examples.stories.js
4 years ago
icons.stories.js
4 years ago
items.stories.js
4 years ago
badges.stories.js
40 lines
| 1 | import styles from './src/styles'; |
| 2 | |
| 3 | import {withA11y} from '@storybook/addon-a11y'; |
| 4 | |
| 5 | export default { |
| 6 | title: 'Setup Page/Badges', |
| 7 | decorators: [withA11y], |
| 8 | }; |
| 9 | |
| 10 | const Styles = |
| 11 | ` |
| 12 | <style> |
| 13 | ` + |
| 14 | styles + |
| 15 | ` |
| 16 | </style> |
| 17 | `; |
| 18 | |
| 19 | export const Complete = () => |
| 20 | Styles + |
| 21 | ` |
| 22 | <section> |
| 23 | <header> |
| 24 | <h2>Complete</h2> |
| 25 | <span class="badge badge-complete">Complete</span> |
| 26 | </header> |
| 27 | </section> |
| 28 | `; |
| 29 | |
| 30 | export const Review = () => |
| 31 | Styles + |
| 32 | ` |
| 33 | <section> |
| 34 | <header> |
| 35 | <h2>Review</h2> |
| 36 | <span class="badge badge-review">5-10 Minutes</span> |
| 37 | </header> |
| 38 | </section> |
| 39 | `; |
| 40 |