@spark-ui/dropdown
Version:
Displays a list of options for the user to pick from—triggered by a button. Differs from Select in that it offers multiple select and its list is not native.
13 lines (12 loc) • 367 B
TypeScript
import { ReactNode, Ref } from 'react';
interface TriggerProps {
'aria-label'?: string;
children: ReactNode;
className?: string;
ref?: Ref<HTMLButtonElement>;
}
export declare const Trigger: {
({ "aria-label": ariaLabel, children, className, ref: forwardedRef, }: TriggerProps): import("react").JSX.Element;
displayName: string;
};
export {};