Skip to content

Commit

Permalink
fix(Form): 修复 onChange 回调函数中 even 类型错误 #577 (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
nullptr-z committed Mar 1, 2022
1 parent 463b37d commit c139d18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-form/src/FormItem.tsx
@@ -1,10 +1,10 @@
import React, { CSSProperties } from 'react';
import { Col, Row } from '@uiw/react-grid';
import { IProps, HTMLDivProps } from '@uiw/utils';
import { IProps, HTMLInputProps } from '@uiw/utils';
import { FormFieldsProps } from './Form';
import './style/form-item.less';

export interface FormItemProps<T> extends IProps, HTMLDivProps {
export interface FormItemProps<T> extends IProps, HTMLInputProps {
inline?: boolean;
hasError?: boolean;
label?: React.ReactNode;
Expand Down

0 comments on commit c139d18

Please sign in to comment.