at-custom-component
Version:
``` npm i at-custom-component ```
45 lines (44 loc) • 890 B
JavaScript
import { MyLabel } from "../components/MyLabel";
const meta = {
title: "MyLabel",
component: MyLabel,
tags: ["autodocs"],
parameters: {
layout: "centered",
},
argTypes: {
size: { control: "inline-radio" },
},
};
export default meta;
export const Basic = {
args: {
label: "Basic label",
},
};
export const AllCaps = {
args: {
label: "All Caps label",
allCaps: true,
color: "text-tertiary"
},
};
export const Secundary = {
args: {
label: "Secundary label",
color: 'text-secondary',
},
};
export const CustomColor = {
args: {
label: "Custom Color label",
fontColor: 'orange',
},
};
export const CustomBackgroundColor = {
args: {
label: "Custom BackgrundColor label",
backgroundColor: '#532db1',
fontColor: 'white'
},
};