/* eslint-disable react-hooks/rules-of-hooks */ import { Meta, StoryObj } from "@storybook/react" import React, { useState } from "react" import { Button } from "../Button" import { FlexColumn } from "../FlexColumn" import { Text } from "../Text" import { CipherText } from "./CipherText" type Story = StoryObj const meta: Meta = { title: "Design System/CipherText", component: CipherText, render: ({ ...args }) => { return ( ) }, } export default meta export const Default: Story = { args: { children: "Hello World", }, } export const Infinite: Story = { args: { infinite: true, children: "Hello World", }, } export const WithPauseButton: Story = { args: { children: "Hello World", }, render: ({ ...args }) => { const [paused, setPaused] = useState(false) return ( ) }, }