@syncfusion/ej2-react-layouts
Version:
A package of Essential JS 2 layout pure CSS components such as card and avatar. The card is used as small container to show content in specific structure, whereas the avatars are icons, initials or figures representing particular person. for React
30 lines (29 loc) • 963 B
TypeScript
import { ComplexBase } from '@syncfusion/ej2-react-base';
import { PanelModel } from '@syncfusion/ej2-layouts';
export interface PanelDirTypecast {
header?: string | Function | any;
content?: string | Function | any;
panels?: any;
}
/**
* `PanelsDirective` represent a presets of the react dashboardlayout.
* It must be contained in a dashboardlayout component(`DashBoardLayoutComponent`).
* ```tsx
* <DashBoardLayoutComponent>
* <PanelsDirective>
* <PanelDirective></PanelDirective>
* <PanelDirective></PanelDirective>
* </PanelsDirective>
* </DashBoardLayoutComponent>
* ```
*/
export declare class PanelDirective extends ComplexBase<PanelModel | PanelDirTypecast & {
children?: React.ReactNode;
}, PanelModel | PanelDirTypecast> {
static moduleName: string;
static complexTemplate: Object;
}
export declare class PanelsDirective extends ComplexBase<{}, {}> {
static propertyName: string;
static moduleName: string;
}