2016-05-29 23:09:02 +03:00
|
|
|
import { themr } from 'react-css-themr';
|
2017-01-26 20:05:32 +03:00
|
|
|
import { RADIO } from '../identifiers';
|
2016-05-29 23:09:02 +03:00
|
|
|
import themedRippleFactory from '../ripple';
|
2017-01-26 20:05:32 +03:00
|
|
|
import radioFactory from './Radio';
|
|
|
|
import { radioButtonFactory } from './RadioButton';
|
|
|
|
import { radioGroupFactory } from './RadioGroup';
|
2017-01-05 04:42:18 +03:00
|
|
|
import theme from './theme.css';
|
2016-05-29 23:09:02 +03:00
|
|
|
|
2017-01-26 20:05:32 +03:00
|
|
|
const ThemedRadio = radioFactory(themedRippleFactory({ centered: true, spread: 2.6 }));
|
2016-05-29 23:09:02 +03:00
|
|
|
const ThemedRadioButton = themr(RADIO, theme)(radioButtonFactory(ThemedRadio));
|
|
|
|
const ThemedRadioGroup = themr(RADIO, theme)(radioGroupFactory(ThemedRadioButton));
|
|
|
|
|
2016-05-31 11:23:05 +03:00
|
|
|
export default ThemedRadioButton;
|
2016-05-29 23:09:02 +03:00
|
|
|
export { ThemedRadioButton as RadioButton };
|
|
|
|
export { ThemedRadioGroup as RadioGroup };
|