UNPKG

@onwave/ui

Version:
28 lines 1 kB
var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; import React from "react"; import { ModalBottomSheet } from "."; export default { title: "components/overlays/ModalBottomSheet", component: ModalBottomSheet, argTypes: {}, }; var Template = function (args) { return (React.createElement(ModalBottomSheet, __assign({}, args))); }; export var SimpleModalBottomSheet = Template.bind({}); SimpleModalBottomSheet.args = { title: "hello", opener: React.createElement("button", null, "hello"), children: (React.createElement("div", null, "hello", React.createElement("h3", null, "helloo"))), }; //# sourceMappingURL=index.stories.js.map