import '../stylesheets/index.styl'
import Checkbox from './components/checkbox.js'
import Color from './components/color.js'
import FormErrorList from './components/form_error_list.js'
import File from './components/file.js'
import Form from './components/form.js'
import Input from './components/input.js'
import Number from './components/number.js'
import Select from './components/select.js'
import Submit from './components/submit.js'
import Switch from './components/switch.js'
import Text from './components/text.js'
import Timepicker from './components/timepicker.js'
import InputErrorList from './components/input_error_list.js'
import Saved from './components/saved.js'

module.exports = {
  Checkbox,
  Color,
  FormErrorList,
  File,
  Form,
  Input,
  Number,
  Select,
  Submit,
  Switch,
  Text,
  Timepicker,
  InputErrorList,
  Saved,
}

import '../stylesheets/index.styl'
import Checkbox from './components/checkbox.js'
import Color from './components/color.js'
import FormErrorList from './components/form_error_list.js'
import File from './components/file.js'
import Form from './components/form.js'
import Input from './components/input.js'
import Number from './components/number.js'
import Select from './components/select.js'
import Submit from './components/submit.js'
import Switch from './components/switch.js'
import Text from './components/text.js'
import Timepicker from './components/timepicker.js'
import InputErrorList from './components/input_error_list.js'
import Saved from './components/saved.js'

export default {
  Checkbox,
  Color,
  FormErrorList,
  File,
  Form,
  Input,
  Number,
  Select,
  Submit,
  Switch,
  Text,
  Timepicker,
  InputErrorList,
  Saved,
}

Use ES6 default export