import React from 'react' import { type Meta, type StoryObj } from '@storybook/react' import { InformationTile } from '../index' const meta = { title: 'Components/Tiles/InformationTile (Deprecated)', component: InformationTile, args: { title: 'Title', metadata: 'Side A', footer: <>Example Footer, }, } satisfies Meta export default meta type Story = StoryObj export const Playground: Story = { parameters: { docs: { canvas: { sourceState: 'shown', }, }, }, } export const Variants: Story = { render: (args) => ( <> ), decorators: [ (Story) => (
), ], } export const Information: Story = { args: { information: 'Side B', }, } export const TileWithCustomInfoLabel: Story = { args: { infoButtonLabel: 'Test', information: 'Side B', }, }