Repository URL to install this package:
|
Version:
0.9.5 ▾
|
ui-component-library
/
dist
/
typings
/
src
/
components
/
features
/
Animations
/
Push
/
typings.d.ts
|
|---|
import { ReactNode } from 'react';
export interface PushRenderProp {
(props: PushProps): ReactNode;
}
declare type Style = string | {
[key: string]: any;
};
export interface PushProps {
side: 'right' | 'left' | 'top' | 'bottom';
children?: ReactNode;
isVisible?: boolean;
renderWrap?: PushRenderProp;
style?: Style;
duration?: number;
}
export {};