@gechiui/components
Version:
UI components for GeChiUI.
26 lines • 860 B
TypeScript
/**
* @param {GetAnimateOptions} options
*
* @return {string | void} ClassName that applies the animations
*/
export function getAnimateClassName(options: GetAnimateOptions): string | void;
export default function Animate({ type, options, children }: {
type: any;
options?: {} | undefined;
children: any;
}): any;
export type AppearOrigin = 'top' | 'top left' | 'top right' | 'middle' | 'middle left' | 'middle right' | 'bottom' | 'bottom left' | 'bottom right';
export type SlideInOrigin = 'left' | 'right';
export type AppearOptions = {
type: 'appear';
origin?: AppearOrigin;
};
export type SlideInOptions = {
type: 'slide-in';
origin?: SlideInOrigin;
};
export type LoadingOptions = {
type: 'loading';
};
export type GetAnimateOptions = AppearOptions | SlideInOptions | LoadingOptions;
//# sourceMappingURL=index.d.ts.map