UNPKG

react-toolbox-legacy

Version:

Unofficial fork of the react-toolbox package, compatible with React v16

12 lines (9 loc) 385 B
import { INPUT } from '../identifiers.js'; import { themr } from 'react-css-themr-legacy'; import { inputFactory } from './Input.js'; import FontIcon from '../font_icon/FontIcon.js'; import theme from './theme.scss'; const Input = inputFactory(FontIcon); const ThemedInput = themr(INPUT, theme, { withRef: true })(Input); export default ThemedInput; export { ThemedInput as Input };