katoikia-app/web-ui/web-react/node_modules/primereact/sidebar/sidebar.d.ts

34 lines
962 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
import * as React from 'react';
import { CSSTransitionProps } from '../csstransition';
type SidebarPositionType = 'top' | 'bottom' | 'left' | 'right';
type SidebarTemplateType = React.ReactNode | ((props: SidebarProps) => React.ReactNode);
type SidebarAppendToType = 'self' | HTMLElement | undefined | null;
export interface SidebarProps {
id?: string;
style?: object;
className?: string;
maskStyle?: object;
maskClassName?: string;
visible?: boolean;
position?: SidebarPositionType;
fullScreen?: boolean;
blockScroll?: boolean;
baseZIndex?: number;
dismissable?: boolean;
showCloseIcon?: boolean;
ariaCloseLabel?: string;
closeOnEscape?: boolean;
icons?: SidebarTemplateType;
modal?: boolean;
appendTo?: SidebarAppendToType;
transitionOptions?: CSSTransitionProps;
onShow?(): void;
onHide(): void;
}
export declare class Sidebar extends React.Component<SidebarProps, any> { }