fix(textfield): extend HTMLAttributes

This commit is contained in:
AAGaming
2022-09-09 16:16:15 -04:00
parent d6a08feca0
commit 71c7afa1a6

View File

@@ -1,8 +1,8 @@
import { ChangeEventHandler, ReactNode, VFC } from 'react';
import { ChangeEventHandler, HTMLAttributes, ReactNode, VFC } from 'react';
import { CommonUIModule, Module } from '../webpack';
export interface TextFieldProps {
export interface TextFieldProps extends HTMLAttributes<HTMLInputElement> {
label?: ReactNode;
requiredLabel?: ReactNode;
description?: ReactNode;