@omni-door/tpl-component-library-react
Version:
The React component-library-react project template
8 lines (7 loc) • 505 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function default_1(config) {
var componentName = config.componentName;
return "---\nname: " + componentName + "\nroute: /" + componentName + "\n---\nimport { Playground, Props } from 'docz';\nimport " + componentName + " from './';\n\n# " + componentName + " \u7EC4\u4EF6\n\n<Props of={" + componentName + "} />\n\n## Demo\n\n<Playground>\n\n <" + componentName + " />\n\n</Playground>";
}
exports.default = default_1;