1
0
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:
Paweł Kuna
2021-11-02 23:26:18 +01:00
committed by GitHub
parent b49d23fbb7
commit 6df5e556f7
7 changed files with 72 additions and 1 deletions
+17
View File
@@ -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>`;