mirror of
https://github.com/tabler/tabler.git
synced 2026-07-25 20:44:38 +04:00
Dev chromatic (#931)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
export default {
|
||||
title: 'Example/Button',
|
||||
};
|
||||
|
||||
const Template = ({ label, ...args }) => {
|
||||
return `<button class="btn">${label}</button>`;
|
||||
};
|
||||
|
||||
export const Primary = () => `<button class="btn btn-primary">Primary button</button>`;
|
||||
|
||||
export const Secondary = () => `<button class="btn">Secondary button</button>`;
|
||||
|
||||
export const Danger = () => `<button class="btn btn-danger">Danger button</button>`;
|
||||
|
||||
export const Large = () => `<button class="btn btn-lg">Large button</button>`;
|
||||
|
||||
export const Small = () => `<button class="btn btn-sm">Small button</button>`;
|
||||
Reference in New Issue
Block a user