import React, { RefAttributes, PropsWithoutRef } from 'react'; import { DOMProps, AriaLabelingProps } from '@react-types/shared'; import { AriaMenuProps } from '@react-types/menu'; import { CSS } from '../theme/stitches.config'; import type { SimpleColors, DropdownVariants } from '../utils/prop-types'; interface Props extends AriaMenuProps, DOMProps, AriaLabelingProps { as?: keyof JSX.IntrinsicElements; /** * The color of the dropdown items on (focused, hovered) * @default 'default' */ color?: SimpleColors; /** * The dropdowm item variation * @default 'flat' */ variant?: DropdownVariants; /** * The text color of the dropdown items on (focused, hovered) * @default 'default' */ textColor?: SimpleColors; } declare type NativeAttrs = Omit, keyof Props>; export declare type DropdownMenuProps = Props & NativeAttrs & { css?: CSS; }; declare type DropdownComponent = React.ForwardRefExoticComponent & RefAttributes>; declare const _default: DropdownComponent>; export default _default;