"use strict";

exports.__esModule = true;
exports.doc = void 0;

var _reactDesc = require("react-desc");

var doc = function doc(Notice) {
  var DocumentedNotice = (0, _reactDesc.describe)(Notice).description('A notice component').usage("import { Button, Notice } from '@dragonchain-dev/dragon-kit'\n      \n<Notice>\n  <p>What I want you to know</p>\n  <Button to=\"/apple\">Do This</Button>\n</Notice>");
  DocumentedNotice.propTypes = {
    children: _reactDesc.PropTypes.node.description('Notice body').isRequired
  };
  return DocumentedNotice;
};

exports.doc = doc;