UNPKG

@violetprotocol/nudge-components

Version:

Components for Nudge's websites and applications.

34 lines (33 loc) 836 B
import { jsx as _jsx } from "react/jsx-runtime"; import { MultiplierCard } from "./MultiplierCard"; const meta = { component: MultiplierCard, }; export default meta; export const Primary = { render: (args) => _jsx(MultiplierCard, { ...args }), args: { icon: "x", title: "Test multiplier title", progress: 3, maxProgress: 7, multiplier: "10x", onCtaClick: () => { alert("Clicked!"); }, ctaText: "Click me!", }, }; export const NoProgressBar = { render: (args) => _jsx(MultiplierCard, { ...args }), args: { icon: "x", title: "Test multiplier title", subtitle: "Test subtitle", multiplier: "10x", onCtaClick: () => { alert("Clicked!"); }, ctaText: "Click me!", }, };