@inkline/paper
Version:
Paper is a unified interface for defining components for Vue and React using a single code base.
16 lines (12 loc) • 388 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.createStory = void 0;
var _index = require("../index");
const createStory = (Component, args = {}) => (0, _index.defineComponent)({
render: () => (0, _index.h)("div", {
class: `storybook-example ${args.class || ""}`
}, (0, _index.h)(Component, args))
});
exports.createStory = createStory;