import { StatRow } from "ui";
import { Meta, Story, ArgsTable } from "@storybook/addon-docs";
<Meta title="Components/Data/StatRow" component={StatRow} />
export const Template = (args) => <StatRow {...args} />;
# StatRow
This component renders a StatRow.
## Props
<ArgsTable story="Default" />
## Examples
<Story
name="Default"
args={{
label: "Example",
value: "1K",
loading: false,
}}
>
{Template.bind({})}
</Story>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter