caption.stories.mdx

PHOTO EMBED

Mon Mar 25 2024 17:05:27 GMT+0000 (Coordinated Universal Time)

Saved by @rafal_rydz

import {Caption} from "ui";
import {ArgsTable, Meta, Story} from "@storybook/addon-docs";

<Meta title="Components/Text/Caption/old" component={Caption}/>

export const Template = (args) => <Caption {...args} />;

# Caption

This component renders a styled `<span>` for the main text Caption.

## Props

<ArgsTable story="Default"/>

## Examples

<Story name="Default" args={{text: "Example", inline: false}}>
    {Template.bind({})}
</Story>
content_copyCOPY