@cimpress/react-components
Version:
React components to support the MCP styleguide
16 lines • 1.15 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const react_components_1 = require("@cimpress/react-components");
const flexboxExampleOne_jsx_1 = __importDefault(require("!raw-loader!./flexboxExampleOne.jsx"));
const flexboxExampleOne_1 = __importDefault(require("./flexboxExampleOne"));
const TabbedComponentDoc_1 = __importDefault(require("../../shared/TabbedComponentDoc"));
const codeRegex = /.*(<FlexBox.*<\/FlexBox>).*/s;
const FlexBoxDocs = () => (react_1.default.createElement(TabbedComponentDoc_1.default, { name: "FlexBox", propInfos: [], remarks: 'The FlexBox component exposes camelcased props that represent all possible css properties for flexbox' },
react_1.default.createElement(flexboxExampleOne_1.default, null),
react_1.default.createElement(react_components_1.CodeExample, { code: flexboxExampleOne_jsx_1.default.match(codeRegex)[1] })));
exports.default = FlexBoxDocs;
//# sourceMappingURL=index.js.map