react-toolbox/components/input/index.js

12 lines
372 B
JavaScript

import { themr } from 'react-css-themr';
import { INPUT } from '../identifiers';
import { inputFactory } from './Input';
import { FontIcon } from '../font_icon/FontIcon';
import theme from './theme.css';
const Input = inputFactory(FontIcon);
const ThemedInput = themr(INPUT, theme, { withRef: true })(Input);
export default ThemedInput;
export { ThemedInput as Input };