1
import * as React from 'react';
2
import { FormEvent } from '../../../types';
3

4 4
export { default as defaults } from './default';
5

6
interface CommonProps {
7
  // 通用属性
8
  readonly dataset?: DOMStringMap;
9
  id?: string;
10
  className?: string;
11
  style?: React.CSSProperties;
12
}
13

14
export interface FormProps extends CommonProps {
15
  onSubmit?: (e: FormEvent) => void;
16
  onReset?: (e: FormEvent) => void;
17
}
18

19
export interface FormWebProps extends CommonProps, React.HTMLAttributes<HTMLFormElement> {}

Read our documentation on viewing source code .

Loading