-
Notifications
You must be signed in to change notification settings - Fork 36
/
index.d.ts
41 lines (38 loc) · 933 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import {Component, CSSProperties} from 'react';
export interface InkProperties {
/**
* When true, pressing the ink will cause the background to fill with the current color
* Default: true
*/
background?: boolean;
/**
* Duration of the full animation completion
* Default: 1000
*/
duration?: number;
/**
* The opacity of the ink blob
* Default: 0.25
*/
opacity?: number;
/**
* The size of the effect, will not exceed bounds of containing element
* Default: 150
*/
radius?: number;
/**
* When true, recenter will pull ink towards the center of the containing element
* Default: true
*/
recenter?: boolean;
/**
* See src/style.js. Any rules set here will extend these values
*/
style?: CSSProperties;
/**
* Override internal hasTouch detection
*/
hasTouch?: boolean;
}
declare class Ink extends Component<InkProperties, any> {}
export default Ink;