import type { Meta, StoryObj } from "@storybook/react"; import React from "react"; import { Hint, Label, Typography, CharacterCount } from "../../.."; const meta: Meta = { title: "CharacterCount", component: CharacterCount, }; export default meta; type Story = StoryObj; const primary: Story = { name: "Primary character count", render: (_args) => ( Do not include personal or financial information like your National Insurance number or credit card details. ), }; const multipleQuestions: Story = { name: "Multiple questions character count", render: (_args) => ( ), }; const oneFiftyWords: Story = { name: "One fifty words character count", render: (_args) => ( ), }; const threshold: Story = { name: "Threshold character count", render: (_args) => ( ), }; const errorInPlace: Story = { name: "Error in place character count", render: (_args) => ( ), }; export { primary, multipleQuestions, oneFiftyWords, threshold, errorInPlace };