mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
10 lines
414 B
TypeScript
10 lines
414 B
TypeScript
import { default as MaterialUIFormControl, FormControlProps } from '@material-ui/core/FormControl';
|
|
import React, { forwardRef } from 'react';
|
|
|
|
type FormControlRef = HTMLElementTagNameMap[keyof HTMLElementTagNameMap];
|
|
|
|
const FormControl = forwardRef<FormControlRef, FormControlProps>(function FormControl(props, ref) {
|
|
return <MaterialUIFormControl {...props} innerRef={ref} />;
|
|
});
|
|
|
|
export default FormControl;
|