"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Regular = exports.default = void 0;

var _react = _interopRequireDefault(require("react"));

var _README = _interopRequireDefault(require("./README.mdx"));

var _markdown = _interopRequireDefault(require("./markdown.mdx"));

var _react2 = require("@mdx-js/react");

var _MdxComponents = _interopRequireDefault(require("./MdxComponents"));

var _default = {
  title: 'Components/Content Related/Mdx components',
  component: _MdxComponents.default,
  parameters: {
    componentSubtitle: 'Component',
    mdx: _README.default,
    introText: "MDX is an authorable format that lets you seamlessly write JSX in your Markdown documents.",
    docs: {
      source: {
        code: "\nimport { MdxComponents } from '@wfp/ui';\nimport { MDXProvider } from '@mdx-js/react';\n\n<MDXProvider components={MdxComponents}>{children}</MDXProvider>"
      }
    }
  }
};
exports.default = _default;

var Regular = function Regular(args) {
  return /*#__PURE__*/_react.default.createElement(_react2.MDXProvider, {
    components: _MdxComponents.default
  }, /*#__PURE__*/_react.default.createElement(_markdown.default, null));
};

exports.Regular = Regular;