37 lines
937 B
JavaScript
37 lines
937 B
JavaScript
import NoRules from "../../app/components/cards/NoRules";
|
|
|
|
export default {
|
|
title: "Components/Cards/NoRules",
|
|
component: NoRules,
|
|
parameters: {
|
|
layout: "centered",
|
|
backgrounds: { default: "dark" },
|
|
docs: {
|
|
description: {
|
|
component:
|
|
"Empty state for Your Rules on Profile when a member has no Rules yet.",
|
|
},
|
|
},
|
|
},
|
|
argTypes: {
|
|
title: { control: "text" },
|
|
description: { control: "text" },
|
|
createLabel: { control: "text" },
|
|
browseLabel: { control: "text" },
|
|
browseHref: { control: "text" },
|
|
onCreate: { action: "create" },
|
|
},
|
|
};
|
|
|
|
export const Default = {
|
|
args: {
|
|
title: "No Rules yet",
|
|
description:
|
|
"Start from a template, or write your first over a few short meetings with the free kit.",
|
|
createLabel: "Create rule",
|
|
browseLabel: "Browse templates",
|
|
browseHref: "/templates?fromFlow=1",
|
|
className: "max-w-[560px]",
|
|
},
|
|
};
|