diff --git a/src/components/ButtonIcon/ButtonIcon.stories.js b/src/components/ButtonIcon/ButtonIcon.stories.js new file mode 100644 index 000000000..9f4bb8b08 --- /dev/null +++ b/src/components/ButtonIcon/ButtonIcon.stories.js @@ -0,0 +1,36 @@ +import ButtonIcon from './ButtonIcon.vue'; +export default { + title: 'Components/ButtonIcon', + component: ButtonIcon, + render: (args) => ({ + components: {ButtonIcon}, + setup() { + return {args}; + }, + template: '', + }), +}; + +export const Default = { + render: (args) => ({ + components: {ButtonIcon}, + setup() { + return {args}; + }, + template: ` +
+ + +
+ `, + }), + + args: {}, +}; + +export const IconOnly = { + args: { + icon: 'Dropdown', + iconOnly: true, + }, +}; diff --git a/src/components/ButtonIcon/ButtonIcon.vue b/src/components/ButtonIcon/ButtonIcon.vue new file mode 100644 index 000000000..0088259b1 --- /dev/null +++ b/src/components/ButtonIcon/ButtonIcon.vue @@ -0,0 +1,51 @@ + + +