mirror of
https://github.com/SomboChea/ui
synced 2024-09-28 20:37:47 +07:00
11 lines
365 B
TypeScript
11 lines
365 B
TypeScript
|
import React, { forwardRef } from 'react';
|
||
|
import { default as MaterialUIInputLabel, InputLabelProps } from '@material-ui/core/InputLabel';
|
||
|
|
||
|
type InputLabelRef = HTMLLabelElement;
|
||
|
|
||
|
const InputLabel = forwardRef<InputLabelRef, InputLabelProps>(function InputLabel(props, ref) {
|
||
|
return <MaterialUIInputLabel {...props} ref={ref} />;
|
||
|
});
|
||
|
|
||
|
export default InputLabel;
|