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.

21 lines 891 B
import * as React from 'react'; import type { BaseUIComponentProps } from "../../utils/types.js"; /** * An element that scrolls the select popup up when hovered. Does not render when using touch input. * Renders a `<div>` element. * * Documentation: [Base UI Select](https://base-ui.com/react/components/select) */ export declare const SelectScrollUpArrow: React.ForwardRefExoticComponent<SelectScrollUpArrowProps & React.RefAttributes<HTMLDivElement>>; export interface SelectScrollUpArrowState {} export interface SelectScrollUpArrowProps extends BaseUIComponentProps<'div', SelectScrollUpArrow.State> { /** * Whether to keep the HTML element in the DOM while the select popup is not scrollable. * @default false */ keepMounted?: boolean; } export declare namespace SelectScrollUpArrow { type State = SelectScrollUpArrowState; type Props = SelectScrollUpArrowProps; }