UNPKG

@kadconsulting/dry

Version:
9 lines 525 B
import { jsx as _jsx } from "react/jsx-runtime"; import './InputAdornment.scss'; import { forwardRef } from 'react'; import classnames from 'classnames'; const InputAdornment = forwardRef(({ id, className, position = 'left', children, ...props }, ref) => { return (_jsx("div", { id: id, ref: ref, className: classnames(className, 'dry-textInput__inputAdornment', `dry-textInput__inputAdornment--${position}`), ...props, children: children })); }); export default InputAdornment; //# sourceMappingURL=InputAdornment.js.map