irisrad-ui
Version:
UI elements developered for IRIS R&D Group Inc
36 lines (29 loc) • 942 B
JavaScript
// to be redesigned
// import React from "react";
// import { IrisIconButton } from "./IrisIconButtons"; // ui element
// // export for StoryBook as a tab
// export default {
// title: "Example/IconButton", // could be represent on the url, example could be a root of the node
// component: IrisIconButton,
// argTypes: {
// children: { control: "text" },
// },
// };
// const Template = (args) => (
// <IrisIconButton onClick={() => alert("HHH")} {...args} />
// );
// // define a variant of the ui component
// export const NoText = Template.bind({});
// // assign arguement (props) to render the ui component
// NoText.args = {
// size: "small",
// };
// export const WithText = Template.bind({});
// WithText.args = {
// size: "small",
// children: <p>Iris</p>,
// };
// // export const Secondary = Template.bind({});
// // Secondary.args = {
// // label: "Button",
// // };