Skip to content

Commit

Permalink
Organize radio buttons and groups
Browse files Browse the repository at this point in the history
  • Loading branch information
javivelasco committed Oct 20, 2015
1 parent 01089f9 commit 07c17b0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions components/radio/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
RadioButton: require('./radio_button'),
RadioGroup: require('./radio_group')
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import RadioGroup from '../../components/radio_group';
import RadioButton from '../../components/radio_button';
import { RadioGroup, RadioButton } from '../../components/radio';

export default React.createClass({
handleChange (event, instance) {
Expand Down
4 changes: 2 additions & 2 deletions spec/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import List from './components/list';
import Menu from './components/menu';
import Pickers from './components/pickers';
import Progress from './components/progress';
import RadioGroup from './components/radio_group';
import Radio from './components/radio';
import Snackbar from './components/snackbar';
import Slider from './components/slider';
import Switch from './components/switch';
Expand All @@ -40,7 +40,7 @@ const App = () => {
<Menu />
<Pickers />
<Progress />
<RadioGroup />
<Radio />
<Slider />
<Snackbar />
<Switch />
Expand Down

0 comments on commit 07c17b0

Please sign in to comment.