Aller au contenu

Separator

Ce contenu n’est pas encore disponible dans votre langue.

import { Separator } from "@rebasepro/ui";
Prop Type Required Description
orientation "horizontal" | "vertical" yes
decorative boolean
className string

This is the example the design-system sync renders and verifies for this component.

import { Separator, Typography } from "@rebasepro/ui";
export const Horizontal = () => (
<div className="p-4 w-64">
<Typography variant="body2">Account</Typography>
<Separator orientation="horizontal"/>
<Typography variant="body2">Billing</Typography>
</div>
);