UNPKG

react-toolbox

Version:

A set of React components implementing Google's Material Design specification with the power of CSS Modules.

12 lines (9 loc) 372 B
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 };