const React = require('react');
const {
  storiesOf,
  // action,
  // linkTo
} = require('@kadira/storybook');

const {
  Base,
  Button,
  Container,
  Checkbox,
  Row,
  Column,
  Avatar,
  Tabs,
  Tab,
  Toggle,
  Widget
  Radio,
} = require('../src/');

const styles = {
  base: {
    backgroundColor: '#FFEBEE'
  },
  row: {
    backgroundColor: '#EF5350'
  },
  column: {
    backgroundColor: '#B71C1C',
    textAlign: 'center',
    color: 'white'
  }
};

storiesOf('Grid', module)
  .add('Row and Column', () => (
    <Base>
      <Container fluid>
        <Row>
          <Column
            md={10}
            sm={9}
            style={styles.base}
            xs={12}
          >
            <Row around style={styles.row}>
              <Column
                lg={4}
                md={3}
                sm={2}
                style={styles.column}
                xs={1}
              >1</Column>
              <Column
                lg={4}
                md={3}
                sm={2}
                style={styles.column}
                xs={1}
              >2</Column>
              <Column
                lg={4}
                md={3}
                sm={2}
                style={styles.column}
                xs={1}
              >3</Column>
            </Row>
          </Column>
        </Row>
      </Container>
    </Base>
  ));

const profile =
  'https://pbs.twimg.com/profile_images/' +
  '641289584580493312/VBfsPlff_400x400.jpg';

storiesOf('Avatar', module)
  .add('Avatar Picture', () => (
    <Avatar
      color='#ef6176'
      name='Tom'
      src={profile}
    />
  ))
  .add('Avatar Text', () => (
    <Base>
      <Avatar
        color='#35a8c0'
        name='Alex'
      />
      <Avatar
        color='#35a8c0'
        name='Thomas'
      />
      <Avatar
        color='#35a8c0'
        name='귀여운 오리'
      />
    </Base>
  ));

storiesOf('Button', module)
  .add('With text', () => (
    <Button>
      Inspire the lazy
    </Button>
  )).add('Secondary', () => (
    <Button secondary>
      Inspire the brave
    </Button>
  )).add('Disabled', () => (
    <Button disabled>
      Inspire the liars
    </Button>
  ));

storiesOf('Checkbox', module)
  .add('Default', () => (
    <Checkbox />
  ))
  .add('Checked', () => (
    <Checkbox checked onChange={function noop() {}} />
  ))
  .add('Disabled', () => (
    <Checkbox disabled />
  ));

<<<<<<< HEAD
storiesOf('Tabs', module)
  .add('Default', () => (
    <Tabs name='my-tab-group'>
      <Tab title='Containers'>
        <h1>Containers</h1>
      </Tab>
      <Tab title='Users'>
        <h1>User</h1>
      </Tab>
    </Tabs>
  ))

storiesOf('Toggle', module)
  .add('checked', () => (
    <Toggle checked />
  ))
  .add('unchecked', () => (
    <Toggle checked={false} />
  ))
  .add('defaultChecked', () => (
    <Toggle defaultChecked />
  ))
  .add('no props', () => (
    <Toggle />
  ))

storiesOf('Widget', module)
  .add('single', () => (
    <Widget checked selectable='single' name='flag' value='flag_1'>
      <img src='https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Union_flag_1606_(Kings_Colors).svg/2000px-Union_flag_1606_(Kings_Colors).svg.png' />
      <p>Some text</p>
    </Widget>
  ))
=======
storiesOf('Radio', module)
  .add('Default', () => (
    <Radio />
  ))
  .add('Checked', () => (
    <Radio checked onChange={function noop() {}} />
  ))
  .add('Disabled', () => (
    <Radio disabled />
  ));
>>>>>>> Add Radio Button

@@ -221,16 +221,17 @@
 dget
+,
 %0A  Radio
 ,%0A%7D 
@@ -226,17 +226,16 @@
 %0A  Radio
-,
 %0A%7D = req
@@ -2391,21 +2391,8 @@
 );%0A%0A
-%3C%3C%3C%3C%3C%3C%3C HEAD%0A
 stor
@@ -3209,15 +3209,8 @@
  ))%0A
-=======
 %0Asto
@@ -3269,18 +3269,62 @@
   %3CRadio
- /
+%3E%0A     Video killed the radio star%0A    %3C/Radio
 %3E%0A  ))%0A 
@@ -3465,29 +3465,4 @@
 ));%0A
-%3E%3E%3E%3E%3E%3E%3E Add Radio Button%0A

Fix merge issue