import { type ReactNode } from "react"; /** * Display-form kind. Drives the icon only — the trailing suffix text is * supplied by the caller via `suffix`. Omit for a regular label. * * @internal */ export type LabelRowKind = "primary" | "default"; /** * @internal */ export interface IUiLabelRowProps { /** Label text. */ label: string; /** Determines the leading icon. Omit for a generic label icon. */ kind?: LabelRowKind; /** * Optional trailing suffix text rendered after the label (e.g. * "Primary key", "Default label"). The kit primitive does not format * domain-specific copy — callers translate and pass the string. */ suffix?: string; /** * Optional content rendered before the kind icon. Used by * `UiLabelChecklistRow` to inject the row's checkbox. */ leading?: ReactNode; /** * Optional id set on the inner label `` so an interactive ancestor * can use it as `aria-labelledby` — e.g. `UiLabelChecklistRow` binds the * row checkbox's accessible name to this id instead of wrapping the row * in a `