forked from netbeast/react-native-dial
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.d.ts
26 lines (23 loc) · 803 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
declare module 'react-native-snap-dial' {
import * as React from 'react';
import * as ReactNative from 'react-native';
interface SnapDialProps {
fixed?: boolean;
elastic?: boolean;
initialAngle: number;
initialRadius: number;
onAngleXChange?: Function;
onAngleYChange?: Function;
pointerEvents?: string | Array<string>;
precision?: number;
sections?: number;
radiusMax?: number;
radiusMin?: number;
responderStyle?: ReactNative.ViewStyle | Array<ReactNative.ViewStyle>;
containerStyle?: ReactNative.ViewStyle | Array<ReactNative.ViewStyle>;
}
export default class SnapDial extends React.Component<SnapDialProps, any> {
public reset(): void;
public render(): React.ReactNode;
}
}