mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
14 lines
341 B
TypeScript
14 lines
341 B
TypeScript
import classNames from 'classnames';
|
|
import omit from 'lodash/omit';
|
|
|
|
interface Props extends React.InputHTMLAttributes<HTMLInputElement> {}
|
|
|
|
export default function Input({className, ...otherProps}: Props) {
|
|
return (
|
|
<input
|
|
className={classNames('form-control', className)}
|
|
{...omit(otherProps, 'children')}
|
|
/>
|
|
);
|
|
}
|