pc-custom-components
Version:
45 lines (44 loc) • 911 B
JavaScript
import { MyLabel } from "../components/MyLabel";
const meta = {
title: "UI/labels/MyLabel",
tags: ["autodocs"],
parameters: {
layout: "centered",
},
argTypes: {
size: { control: "inline-radio" },
fontColor: { control: "color" },
},
component: MyLabel,
};
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: "Secundary label",
color: "text-secondary",
},
};
export const CustomColor = {
args: {
label: "Custom color label",
fontColor: "#FF0000",
},
};
export const CustomBackgroundColor = {
args: {
label: "Custom background color label",
fontColor: "white",
backgroundColor: "black",
},
};