react-decode-animation
Version:
Decode effect typing animation for React
24 lines • 728 B
JavaScript
import React from "react";
import DecodeAnimation from "../components/DecodeAnimation";
export default {
title: "Decode Animation",
component: DecodeAnimation,
argTypes: {
autoplay: {
defaultValue: false,
},
interval: {
defaultValue: 100,
},
},
};
const Template = (args) => (React.createElement(DecodeAnimation, Object.assign({}, args, { style: {
fontFamily: "sans-serif",
color: "#4b4b4b",
} })));
export const Sample = Template.bind({});
Sample.args = {
text: "This is a decode Animation.",
allowedCharacters: ["uppercase", "lowercase", "numbers"]
};
//# sourceMappingURL=DecodeAnimation.stories.js.map