UNPKG

phx-react

Version:

PHX REACT

18 lines (17 loc) 685 B
import * as React from 'react'; import { ReactNode } from 'react'; export declare function DropDownItem({ children, className, onClick, title, }: { children: React.ReactNode; className: string; onClick(event: React.MouseEvent<HTMLButtonElement>): void; title?: string; }): React.JSX.Element; export default function DropDown({ buttonAriaLabel, buttonClassName, buttonIconClassName, buttonLabel, children, disabled, stopCloseOnClickSelf, }: { disabled?: boolean; buttonAriaLabel?: string; buttonClassName: string; buttonIconClassName?: string; buttonLabel?: string; children: ReactNode; stopCloseOnClickSelf?: boolean; }): React.JSX.Element;