cob3x85-components-storybook
Version:
Instalar `npm i cob3x85-components-storybook`
42 lines (41 loc) • 801 B
JavaScript
import { MyLabel } from "../../components/MyLabel";
const meta = {
title: "MyLabel",
component: MyLabel,
parameters: {
layout: "centered"
}
};
export default meta;
export const Basic = {
args: {
label: "Link label",
},
tags: ['autodocs'],
argTypes: {
size: { control: 'inline' },
fontColor: { control: 'color' },
color: { control: 'select' }
},
};
export const AllCaps = {
args: {
allCaps: true,
label: "All Caps label",
size: "h1"
}
};
export const Secondary = {
args: {
allCaps: false,
label: "Secondary label",
size: "h2"
}
};
export const CustomColor = {
args: {
allCaps: false,
label: "Custom Color label",
size: "h3",
}
};