Skip to main content
PROYECTOVIVIANA

IllustratedMessage

The props declared for IllustratedMessage, generated from the types @proyecto-viviana/ui ships.

Import

import { IllustratedMessage } from "@proyecto-viviana/ui";

Props

Props for IllustratedMessage in @proyecto-viviana/ui
PropTypeDefaultDescription
childrennumber | boolean | RenderedElement | ArrayElement | (string & {}) | Node | JSX.ArrayElement—The content to display in the IllustratedMessage.
size'S' | 'M' | 'L''M'The size of the IllustratedMessage.
orientation'horizontal' | 'vertical''vertical'The direction that the IllustratedMessage should be laid out in.
stylesStylesPropWithHeight | (() => StyleString | undefined)—Spectrum-defined styles, returned by the `style()` macro.
UNSAFE_classNamestring | UnsafeClassName—Additional CSS class name. Use only as a last resort.
UNSAFE_styleJSX.CSSProperties—Additional inline styles. Use only as a last resort.
slotstring—Not yet documented
refHTMLDivElement | ((el: HTMLDivElement) => void) | { current?: HTMLDivElement | null | undefined; }—Not yet documented
illustrationnumber | boolean | RenderedElement | ArrayElement | (string & {}) | Node | JSX.ArrayElement—Legacy shortcut. Prefer passing an Illustration child.
headingnumber | boolean | RenderedElement | ArrayElement | (string & {}) | Node | JSX.ArrayElement—Legacy shortcut. Prefer passing a Heading child.
descriptionnumber | boolean | RenderedElement | ArrayElement | (string & {}) | Node | JSX.ArrayElement—Legacy shortcut. Prefer passing Content children.
classstring—Backward-compatible class alias. Prefer UNSAFE_className for S2 parity.
itemIDstring—Not yet documented

Declared in packages/viviana-ui/src/illustratedmessage/index.tsx.

Props marked solidaria or solidaria-components come from the headless layer underneath and behave the same in both registers. Components that wrap a DOM element also accept that element's standard attributes, which are left out here on purpose — listing them would bury the props that are actually ours.