Navigation | Overlay |
---|---|
t Navigate files | h Toggle hits |
y Change url to tip of branch | m Toggle misses |
b / v Jump to prev/next hit line | p Toggle partial |
z / x Jump to prev/next missed or partial line | 1..9 Toggle flags |
shift + o Open current page in GitHub | a Toggle all on |
/ or ? Show keyboard shortcuts dialog | c Toggle context lines or commits |
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 .