import React from "react";
import Toggle from "../../app/components/controls/Toggle";
export default {
title: "Components/Controls/Toggle",
component: Toggle,
parameters: {
layout: "centered",
},
argTypes: {
state: {
control: { type: "select" },
options: ["default", "hover", "focus"],
},
disabled: {
control: { type: "boolean" },
},
checked: {
control: { type: "boolean" },
},
showIcon: {
control: { type: "boolean" },
},
showText: {
control: { type: "boolean" },
},
},
};
const Template = (args) =>