| import * as React from 'react'; |
| import { Primitive } from '@radix-ui/react-primitive'; |
|
|
| type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>; |
| interface FocusScopeProps extends PrimitiveDivProps { |
| |
| |
| |
| |
| |
| loop?: boolean; |
| |
| |
| |
| |
| |
| trapped?: boolean; |
| |
| |
| |
| |
| onMountAutoFocus?: (event: Event) => void; |
| |
| |
| |
| |
| onUnmountAutoFocus?: (event: Event) => void; |
| } |
| declare const FocusScope: React.ForwardRefExoticComponent<FocusScopeProps & React.RefAttributes<HTMLDivElement>>; |
| declare const Root: React.ForwardRefExoticComponent<FocusScopeProps & React.RefAttributes<HTMLDivElement>>; |
|
|
| export { FocusScope, type FocusScopeProps, Root }; |
|
|