import { ComponentStory, ComponentMeta } from "@storybook/react";
import Radio from "./Radio";
import {Center} from 'native-base';
import {Radio as NBRadio} from 'native-base';

// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
export default {
  title: "App/Forms/Radio",
  component: Radio,
  // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
  argTypes: {
    colorScheme: { control: "color" },
    size: { control: "select", options: [15, 20,25, 30] },
    icon: { control: "select", options: ['1']},
    shadow: {control: 'select', options: [1,2,3,4,5,6,7,8,9]}
  },
} as ComponentMeta<typeof Radio>;

// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args

export const Default: ComponentStory<typeof Radio> = (args) => (
  <NBRadio.Group name="example">
    <Radio {...args} value="1">One</Radio>
    <Radio {...args} value="1">Two</Radio>
  </NBRadio.Group>
);
