UNPKG

react-decode-animation

Version:
30 lines 1.06 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Sample = void 0; const react_1 = __importDefault(require("react")); const DecodeAnimation_1 = __importDefault(require("../components/DecodeAnimation")); exports.default = { title: "Decode Animation", component: DecodeAnimation_1.default, argTypes: { autoplay: { defaultValue: false, }, interval: { defaultValue: 100, }, }, }; const Template = (args) => (react_1.default.createElement(DecodeAnimation_1.default, Object.assign({}, args, { style: { fontFamily: "sans-serif", color: "#4b4b4b", } }))); exports.Sample = Template.bind({}); exports.Sample.args = { text: "This is a decode Animation.", allowedCharacters: ["uppercase", "lowercase", "numbers"] }; //# sourceMappingURL=DecodeAnimation.stories.js.map