UNPKG

1.15 kBJavaScriptView Raw
1"use strict";
2
3require("core-js/modules/es.array.for-each");
4
5require("core-js/modules/es.object.keys");
6
7require("core-js/modules/web.dom-collections.for-each");
8
9Object.defineProperty(exports, "__esModule", {
10 value: true
11});
12var _exportNames = {
13 resetComponents: true,
14 components: true
15};
16Object.defineProperty(exports, "components", {
17 enumerable: true,
18 get: function get() {
19 return _DocumentFormatting.components;
20 }
21});
22exports.resetComponents = void 0;
23
24var _react = require("react");
25
26var _DocumentFormatting = require("./typography/DocumentFormatting");
27
28Object.keys(_DocumentFormatting).forEach(function (key) {
29 if (key === "default" || key === "__esModule") return;
30 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
31 Object.defineProperty(exports, key, {
32 enumerable: true,
33 get: function get() {
34 return _DocumentFormatting[key];
35 }
36 });
37});
38var resetComponents = {};
39exports.resetComponents = resetComponents;
40Object.keys(_DocumentFormatting.components).forEach(function (key) {
41 resetComponents[key] = function (props) {
42 return (0, _react.createElement)(key, props);
43 };
44});
\No newline at end of file