mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
rearrange BaseButton stories
This commit is contained in:
parent
93233a5c76
commit
5a30001db8
@ -21,13 +21,25 @@ storiesOf('Generic/BaseButton', module)
|
||||
template: `
|
||||
<div>
|
||||
<base-button icon="edit">With Text</base-button>
|
||||
<base-button icon="trash" />
|
||||
<base-button icon="bullhorn" />
|
||||
<base-button icon="trash" disabled />
|
||||
<base-button icon="trash" loading />
|
||||
</div>
|
||||
`,
|
||||
}))
|
||||
|
||||
.add('circle', () => ({
|
||||
components: { BaseButton },
|
||||
template: `
|
||||
<div>
|
||||
<base-button circle icon="eye" />
|
||||
<base-button circle>EN</base-button>
|
||||
<base-button circle disabled icon="eye-slash" />
|
||||
<base-button circle loading icon="eye-slash" />
|
||||
</div>
|
||||
`,
|
||||
}))
|
||||
|
||||
.add('primary', () => ({
|
||||
components: { BaseButton },
|
||||
template: `
|
||||
@ -49,15 +61,3 @@ storiesOf('Generic/BaseButton', module)
|
||||
</div>
|
||||
`,
|
||||
}))
|
||||
|
||||
.add('circle', () => ({
|
||||
components: { BaseButton },
|
||||
template: `
|
||||
<div>
|
||||
<base-button circle icon="eye" />
|
||||
<base-button circle>EN</base-button>
|
||||
<base-button circle disabled icon="eye-slash" />
|
||||
<base-button circle loading icon="eye-slash" />
|
||||
</div>
|
||||
`,
|
||||
}))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user