@base-ui/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.
12 lines • 545 B
text/typescript
import * as React from 'react';
import { type BaseUIComponentProps } from "../internals/types.mjs";
type PortalContainer = HTMLElement | ShadowRoot | React.RefObject<HTMLElement | ShadowRoot | null> | null;
export interface FloatingPortalLiteState {}
export interface FloatingPortalLiteProps<TState> extends BaseUIComponentProps<'div', TState> {
container?: PortalContainer | undefined;
}
export declare namespace FloatingPortalLite {
type State = FloatingPortalLiteState;
type Props<TState> = FloatingPortalLiteProps<TState>;
}
export {};