gestalt
Version:
A set of React UI components which enforce Pinterest's design language
10 lines (9 loc) • 346 B
TypeScript
import { ReactNode } from 'react';
type Props = {
children?: ReactNode;
};
/**
* TrapFocusBehavior is used by components like Modal and OverlayPanel to ensure that only elements within children components can be focused.
*/
export default function TrapFocusBehavior({ children }: Props): import("react/jsx-runtime").JSX.Element;
export {};