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.

19 lines (18 loc) 723 B
'use client'; import * as React from 'react'; import { SelectScrollArrow } from "../scroll-arrow/SelectScrollArrow.js"; import { jsx as _jsx } from "react/jsx-runtime"; /** * 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 const SelectScrollUpArrow = /*#__PURE__*/React.forwardRef(function SelectScrollUpArrow(props, forwardedRef) { return /*#__PURE__*/_jsx(SelectScrollArrow, { ...props, ref: forwardedRef, direction: "up" }); }); if (process.env.NODE_ENV !== "production") SelectScrollUpArrow.displayName = "SelectScrollUpArrow";