UNPKG

catreact

Version:

Catavolt Core React Components

32 lines (31 loc) 950 B
"use strict"; /** * Created by rburson on 12/23/15. */ Object.defineProperty(exports, "__esModule", { value: true }); var React = require("react"); var catreact_core_1 = require("./catreact-core"); /** * Render a DetailsContext */ exports.CvDetailsPane = React.createClass({ mixins: [catreact_core_1.CvBaseMixin, catreact_core_1.CvEditorBase], componentDidMount: function () { this._componentDidMount(); }, componentWillReceiveProps: function (nextProps, nextContext) { this._componentWillReceiveProps(nextProps, nextContext); }, componentWillUnmount: function () { this._componentWillUnmount(); }, detailsContext: function (nextProps, nextContext) { return this.editorContext(nextProps, nextContext); }, getDefaultProps: function () { return catreact_core_1.CvEditorBase._getDefaultProps(); }, render: function () { return this._render(); } });