UNPKG
artwork-design
Version:
latest (1.0.0)
1.0.0
artwork design master
artwork-design
/
lib
/
button
/
PropsType.d.ts
12 lines
(11 loc)
•
306 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/// <reference types="react" />
import
React
from
'react'
;
export
interface
ButtonProps
{
type
?:
'primary'
|
'warning'
;
size
?:
'large'
|
'small'
;
activeStyle
?:
boolean
|
Object
;
disabled
?:
boolean
;
onClick
?:
(
x
?:
any
) =>
void
;
loading
?:
boolean
;
styles
?:
React
.
CSSProperties
; }