2023-08-15 00:42:10 +00:00
|
|
|
import { Canvas, Meta, Story, ArgsTable } from "@storybook/addon-docs";
|
|
|
|
|
|
|
|
import {
|
|
|
|
Examples,
|
|
|
|
Example,
|
|
|
|
Note,
|
|
|
|
Title,
|
|
|
|
CustomArgsTable,
|
|
|
|
VariantsTable,
|
|
|
|
VariantRow,
|
|
|
|
} from "@calcom/storybook/components";
|
|
|
|
|
|
|
|
import { Divider, VerticalDivider } from "./Divider";
|
2023-01-05 12:04:28 +00:00
|
|
|
|
|
|
|
<Meta title="UI/Divider" component={Divider} />
|
|
|
|
|
2023-08-15 00:42:10 +00:00
|
|
|
<Title title="Divider" suffix="Brief" subtitle="Version 2.0 — Last Update: 05 jan 2023" />
|
2023-01-05 12:04:28 +00:00
|
|
|
|
|
|
|
## Definition
|
2023-08-15 00:42:10 +00:00
|
|
|
|
2023-01-05 12:04:28 +00:00
|
|
|
Shows the current copy right as well as app version name.
|
|
|
|
|
|
|
|
<Canvas>
|
2023-08-15 00:42:10 +00:00
|
|
|
<Story name="Divider">
|
2023-01-05 12:04:28 +00:00
|
|
|
<VariantsTable titles={[]} columnMinWidth={150}>
|
|
|
|
<VariantRow variant="Horizontal">
|
2023-04-05 18:14:46 +00:00
|
|
|
<div className="dark:text-inverted">
|
2023-01-05 12:04:28 +00:00
|
|
|
Text above
|
|
|
|
<Divider />
|
|
|
|
Text below
|
|
|
|
</div>
|
|
|
|
</VariantRow>
|
|
|
|
<VariantRow variant="Vertical">
|
2023-08-15 00:42:10 +00:00
|
|
|
<div className="dark:text-inverted flex">
|
2023-01-05 12:04:28 +00:00
|
|
|
Text left
|
|
|
|
<VerticalDivider />
|
|
|
|
Text right
|
|
|
|
</div>
|
|
|
|
</VariantRow>
|
|
|
|
</VariantsTable>
|
|
|
|
</Story>
|
|
|
|
</Canvas>
|