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

24 lines
702 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
import * as React from 'react';
import { MenuItem } from '../menuitem';
import { CSSTransitionProps } from '../csstransition';
type TieredMenuAppendToType = 'self' | HTMLElement | undefined | null;
export interface TieredMenuProps {
id?: string;
model?: MenuItem[];
popup?: boolean;
style?: object;
className?: string;
autoZIndex?: boolean;
baseZIndex?: number;
appendTo?: TieredMenuAppendToType;
transitionOptions?: CSSTransitionProps;
onShow?(e: React.SyntheticEvent): void;
onHide?(e: React.SyntheticEvent): void;
}
export declare class TieredMenu extends React.Component<TieredMenuProps, any> {
public toggle(event: React.SyntheticEvent): void;
}