forked from nygardk/react-loader-advanced
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.d.ts
32 lines (28 loc) · 771 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
import * as React from 'react'
declare module 'react-loader-advanced' {
interface Timeout {
enter: number
exit: number
}
interface TransitionConfig {
classNames: string
timeout: number | Timeout
}
interface Props {
backgroundStyle?: React.CSSProperties
children?: React.ReactNode
className?: string
contentBlur?: number,
contentStyle?: React.CSSProperties
disableDefaultStyles?: boolean
foregroundStyle?: React.CSSProperties
hideContentOnLoad?: boolean
message?: React.ReactNode
messageStyle?: React.CSSProperties
priority?: number,
show: boolean
style?: React.CSSProperties
transitionConfig?: TransitionConfig
}
export default class Loader extends React.Component<Props, {}> { }
}