Ir al contenido

InfoLabel

Esta página aún no está disponible en tu idioma.

import { InfoLabel } from "@rebasepro/ui";
Prop Type Required Description
children React.ReactNode yes
mode "info" | "warn"

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

import { InfoLabel } from "@rebasepro/ui";
export const Modes = () => (
<div className="flex flex-col gap-3 p-4 w-[420px]">
<InfoLabel mode="info">
Policies are evaluated per row, for every read and write.
</InfoLabel>
<InfoLabel mode="warn">
This action cannot be undone once the migration has run.
</InfoLabel>
</div>
);