mirror of
https://github.com/SomboChea/ui
synced 2024-09-29 12:57:52 +07:00
11 lines
313 B
TypeScript
11 lines
313 B
TypeScript
|
import React, { forwardRef } from 'react';
|
||
|
import { default as MaterialUIInput, InputProps } from '@material-ui/core/Input';
|
||
|
|
||
|
type InputRef = HTMLDivElement;
|
||
|
|
||
|
const Input = forwardRef<InputRef, InputProps>(function Input(props, ref) {
|
||
|
return <MaterialUIInput {...props} ref={ref} />;
|
||
|
});
|
||
|
|
||
|
export default Input;
|