UNPKG

react-antd-admin-panel

Version:

Easy prototyping admin panel using React and Antd

15 lines 511 B
export default class ConditionsItem { constructor() { // Once next(Section) is called the Section will be drawn in the Conditions-component. this._content = true; } content(v) { this._content = v; return this; } condition(v) { this._condition = v; return this; } // Conditions.tsx will call this to get the item-object. getObject() { return { content: (n) => this._content(n) }; } } //# sourceMappingURL=ConditionsItem.js.map