UNPKG

@inkline/paper

Version:

Paper is a unified interface for defining components for Vue and React using a single code base.

14 lines (10 loc) 353 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createStory = void 0; var _index = require("../index"); const createStory = (Component, storyArgs = {}) => args => (0, _index.h)("div", { class: `storybook-example ${storyArgs.class || ""}` }, (0, _index.h)(Component, args)); exports.createStory = createStory;