Derick Montague | 3f6710a | 2020-03-04 00:59:47 -0600 | [diff] [blame] | 1 | <template> |
| 2 | <div> |
| 3 | <h3 class="h4">Enabled</h3> |
| 4 | <b-button variant="primary">Primary</b-button> |
| 5 | <b-button variant="primary"> |
| 6 | <icon-add /> |
| 7 | <span>Primary with icon</span> |
| 8 | </b-button> |
| 9 | <b-button variant="secondary">Secondary</b-button> |
| 10 | <b-button variant="danger">Danger</b-button> |
| 11 | <b-button variant="link">Link Button</b-button> |
| 12 | <b-button variant="link"> |
| 13 | <icon-add /> |
| 14 | <span>Link Button</span> |
| 15 | </b-button> |
| 16 | |
| 17 | <h3 class="h4">Disabled</h3> |
| 18 | <b-button disabled variant="primary">Primary</b-button> |
| 19 | <b-button disabled variant="primary"> |
| 20 | <icon-add /> |
| 21 | <span>Primary with icon</span> |
| 22 | </b-button> |
| 23 | <b-button disabled variant="secondary">Secondary</b-button> |
| 24 | <b-button disabled variant="danger">Danger</b-button> |
| 25 | <b-button disabled variant="link">Link Button</b-button> |
| 26 | <b-button disabled variant="link"> |
| 27 | <icon-add /> |
| 28 | <span>Link Button</span> |
| 29 | </b-button> |
| 30 | </div> |
| 31 | </template> |
| 32 | |
| 33 | <script> |
| 34 | import IconAdd from '@carbon/icons-vue/es/add--alt/20'; |
| 35 | import IconArrowRight from '@carbon/icons-vue/es/arrow--right/16'; |
| 36 | export default { |
| 37 | name: 'BmcButtons', |
| 38 | components: { IconAdd, IconArrowRight } |
| 39 | } |
| 40 | </script> |
| 41 | <style scoped> |
| 42 | button { |
| 43 | margin-bottom: 1rem; |
| 44 | margin-right: .5rem; |
| 45 | } |
| 46 | |
| 47 | h3 { |
| 48 | margin: .5rem 0 1rem; |
| 49 | } |
| 50 | </style> |