@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) • 735 B
JavaScript
'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 down 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 SelectScrollDownArrow = /*#__PURE__*/React.forwardRef(function SelectScrollDownArrow(props, forwardedRef) {
return /*#__PURE__*/_jsx(SelectScrollArrow, {
...props,
ref: forwardedRef,
direction: "down"
});
});
if (process.env.NODE_ENV !== "production") SelectScrollDownArrow.displayName = "SelectScrollDownArrow";