UNPKG

@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

46 lines (45 loc) 1.71 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { ComplexBase } from '@syncfusion/ej2-react-base'; /** * PanesDirective` represent a panes of the react splitter. * It must be contained in a Splitter component(`SplitterComponent`). * ```tsx * <SplitterComponent> * <PaneSettingsDirective> * <PaneDirective size={this.Pane1Size}></PaneDirective> * <PaneDirective size={this.Pane2Size}></PaneDirective> * <PaneSettingsDirective> * </SplitterComponent> * ``` */ var PaneDirective = /** @class */ (function (_super) { __extends(PaneDirective, _super); function PaneDirective() { return _super !== null && _super.apply(this, arguments) || this; } PaneDirective.moduleName = 'pane'; return PaneDirective; }(ComplexBase)); export { PaneDirective }; var PanesDirective = /** @class */ (function (_super) { __extends(PanesDirective, _super); function PanesDirective() { return _super !== null && _super.apply(this, arguments) || this; } PanesDirective.propertyName = 'paneSettings'; PanesDirective.moduleName = 'panes'; return PanesDirective; }(ComplexBase)); export { PanesDirective };