@up-group-ui/react-controls
Version:
Up shared react controls
19 lines (18 loc) • 774 B
TypeScript
import React from 'react';
import { MenuItemData, SubItemsProps, SubItemsState, SubMenuProps, SubMenuState, UpTreeViewProps, UpTreeViewState } from './types';
export default class UpTreeView extends React.Component<UpTreeViewProps, UpTreeViewState> {
constructor(p: any, c: any);
onBranchClick: (data: MenuItemData, branchId: string) => void;
render(): JSX.Element;
}
export declare class SubMenu extends React.Component<SubMenuProps, SubMenuState> {
constructor(p: any, c: any);
render(): JSX.Element;
}
export declare class SubItems extends React.Component<SubItemsProps, SubItemsState> {
constructor(p: any, c: any);
get anyChild(): boolean;
onExpandClick: (e: any) => boolean;
onClickA: (e: any) => void;
render(): JSX.Element;
}