InfoLabel
Ce contenu n’est pas encore disponible dans votre langue.
import { InfoLabel } from "@rebasepro/ui";| Prop | Type | Required | Description |
|---|---|---|---|
children |
React.ReactNode |
yes | |
mode |
"info" | "warn" |
— |
Example
Section titled “Example”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>);