HudFrame
The props declared for HudFrame, generated from the types @proyecto-viviana/ui ships.
Import
import { HudFrame } from "@proyecto-viviana/ui";Props
| Prop | Type | Default | Description |
|---|---|---|---|
brackets | 'S' | 'M' | 'L' | 'M' | The bracket arm length. |
channel | 'live' | 'info' | 'info' | The channel the brackets and the sweep report on. |
scanlines | false | true | false | Lay the CRT line grille over the content. |
sweep | false | true | false | Run a scan line down the frame. |
children | number | boolean | RenderedElement | ArrayElement | (string & {}) | Node | JSX.ArrayElement | — | The framed content. |
styles | StyleString | (() => StyleString | undefined) | — | Spectrum-defined generated classes. |
UNSAFE_className | string | UnsafeClassName | — | Additional CSS class name. Use only as a last resort. |
UNSAFE_style | JSX.CSSProperties | — | Additional inline styles. Use only as a last resort. |
id | string | — | Not yet documented |
Declared in packages/viviana-ui/src/hudframe/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.