UNPKG

@violetprotocol/nudge-components

Version:

Components for Nudge's websites and applications.

32 lines (31 loc) 903 B
import { jsx as _jsx } from "react/jsx-runtime"; import { LandingCard } from "./LandingCard"; import { getAvailableIconNames } from "../../atoms/Icon/getIconNames"; const meta = { component: LandingCard, }; const argTypes = { icon: { option: getAvailableIconNames(), control: { type: "select" }, }, inactive: { options: [true, false], control: { type: "boolean" }, }, animationSpeed: { options: [0, 75, 100, 150, 200, 300, 500, 700, 1000], control: { type: "select" }, }, }; export default meta; export const Primary = { render: (args) => _jsx(LandingCard, { ...args }), args: { icon: "coins-swap-02", title: "Test Card", flipContent: "Test content with a lot of words that fill the space to describe what this card would otherwise represent", flavourText: "01", }, argTypes, };