forked from sombochea/verdaccio-ui
fix: fixed imports & func's name (#182)
This commit is contained in:
committed by
Juan Picado @jotadeveloper
parent
752e2b963d
commit
3888736e45
@@ -2,9 +2,9 @@ import React, { forwardRef } from 'react';
|
||||
import { default as MaterialUITextField, TextFieldProps } from '@material-ui/core/TextField';
|
||||
|
||||
// The default element type of MUI's TextField is 'div'
|
||||
type TextFieldRef = HTMLElementTagNameMap['div'];
|
||||
type TextFieldRef = HTMLDivElement;
|
||||
|
||||
const TextField = forwardRef<TextFieldRef, TextFieldProps>(function ToolTip({ InputProps, classes, ...props }, ref) {
|
||||
const TextField = forwardRef<TextFieldRef, TextFieldProps>(function TextField({ InputProps, classes, ...props }, ref) {
|
||||
return (
|
||||
<MaterialUITextField
|
||||
{...props}
|
||||
|
||||
Reference in New Issue
Block a user