UNPKG

@omni-door/tpl-component-library-react

Version:
9 lines (8 loc) 573 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var utils_1 = require("@omni-door/utils"); var tpl = "`---\nname: ${componentName}\nroute: /${componentName}\n---\nimport { Playground, Props } from 'docz';\nimport { ${componentName} } from './index';\n${style ? \"import './style';\" : ''}\n\n# ${componentName} \u7EC4\u4EF6\n\n<Props of={${componentName}} />\n\n## Demo\n\n<Playground>\n\n <${componentName} />\n\n</Playground>\n`"; exports.tpl_new_mdx = { tpl: tpl }; exports.default = utils_1.tpl_engine_new(exports.tpl_new_mdx, 'tpl');