Vizel API / react/src / VizelFindReplace
Function: VizelFindReplace()
ts
function VizelFindReplace(__namedParameters): Element | null;Defined in: packages/react/src/components/VizelFindReplace.tsx:48
Find and replace panel component for React.
createVizelFocusTrapController from @vizel/headless traps Tab inside the panel and focuses the find input on open (replacing the former ad-hoc input focus). The panel keeps its own Escape and editor-return handling, so the trap mounts with returnFocusOnUnmount: false: handleClose focuses editor.view.dom directly.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | VizelFindReplaceProps |
Returns
Element | null