UNPKG

@base-ui-components/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

20 lines (19 loc) 619 B
import * as React from 'react'; import { Portal } from '../../portal/Portal.js'; /** * A portal element that moves the popup to a different part of the DOM. * By default, the portal element is appended to `<body>`. * * Documentation: [Base UI Select](https://base-ui.com/react/components/select) */ declare function SelectPortal(props: SelectPortal.Props): React.JSX.Element; declare namespace SelectPortal { var propTypes: any; } declare namespace SelectPortal { interface Props extends Omit<Portal.Props, 'keepMounted'> { } interface State extends Portal.State { } } export { SelectPortal };