fb-custom-components
Version:
46 lines (45 loc) • 911 B
JavaScript
import { MyLabel } from "../components/MyLabel";
const meta = {
title: "UI/MyLabel",
component: MyLabel,
tags: ["autodocs"],
parameters: {
layout: "centered",
},
argTypes: {
size: { control: "inline-radio" },
fontColor: { control: "color" },
},
};
export default meta;
export const Basic = {
args: {
label: "Basic Label",
},
};
export const AllCaps = {
args: {
label: "All Caps label",
allCaps: true,
},
};
export const Secondary = {
args: {
label: "Secondary label",
color: "text-secondary",
},
};
export const CustomColor = {
args: {
label: "Custom color label",
fontColor: "green",
},
};
export const CustomBackgroundColor = {
args: {
size: "h1",
label: "Custom color label",
fontColor: "white",
backgroundColor: "black",
},
};