Repository URL to install this package:
|
Version:
0.9.5 ▾
|
import { ReactNode } from 'react'
export interface PushRenderProp {
(props: PushProps): ReactNode
}
// @todo or import ts
type Style =
| string
| {
[key: string]: any
}
export interface PushProps {
side: 'right' | 'left' | 'top' | 'bottom'
children?: ReactNode
isVisible?: boolean
renderWrap?: PushRenderProp
style?: Style
duration?: number
}