irisrad-ui
Version:
UI elements developered for IRIS R&D Group Inc
34 lines (27 loc) • 1.01 kB
JavaScript
// import React from "react";
// import { IrisMenuIcon } from "./index"; // ui element
// // export for StoryBook as a tab
// export default {
// title: "Example/MenuIcon", // could be represent on the url, example could be a root of the node
// component: IrisMenuIcon,
// // parameters: {
// // layout: "none", // centered | fullscreen | padded | none,
// // },
// // custom arg types with storybook's add on here
// // https://storybook.js.org/docs/react/essentials/controls
// // argTypes: {
// // backgroundColor: {control: "color"}
// // },
// };
// const Template = (args) => <IrisMenuIcon {...args} />;
// // define a variant of the ui component
// export const Primary = Template.bind({});
// // assign arguement (props) to render the ui component
// Primary.args = {
// // primary: true,
// // label: "Button",
// };
// // export const Secondary = Template.bind({});
// // Secondary.args = {
// // label: "Button",
// // };