MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / FocusZone

Function FocusZone

packages/jsx/src/components.ts:228–234  ·  view source on GitHub ↗
(props: FocusZoneJsxProps)

Source from the content-addressed store, hash-verified

226}
227
228export function FocusZone(props: FocusZoneJsxProps): VNode {
229 const { children, key, ...rest } = props;
230 return ui.focusZone(
231 withOptionalKey<FocusZoneProps>(rest, key),
232 normalizeContainerChildren(children),
233 );
234}
235
236export function FocusTrap(props: FocusTrapJsxProps): VNode {
237 const { children, key, ...rest } = props;

Callers

nothing calls this directly

Calls 2

withOptionalKeyFunction · 0.85

Tested by

no test coverage detected