import * as React from "react";
import { Story, Meta } from "@storybook/react";
import { RadioInput } from "./";
import RadioInputStoryHelper from "./RadioInputStoryHelper";
import { InputStoryWrapper } from "../../decorators/inputStoryWrapper";
export default {
title: "Forms/RadioInput",
decorators: [Story => {Story()}],
component: RadioInput,
argTypes: {
inputLabel: {
control: {
type: "text"
}
},
hintContent: {
control: {
type: "text"
}
},
errors: {
control: { disable: true }
}
},
args: {
appearance: "standard",
inputLabel: "Default Input Label"
}
} as Meta;
const Template: Story = args => (
{({ changeHandler, checkedValue }) => (
)}
);
export const Default = Template.bind({});