UNPKG

text-editor-drcsystems

Version:
27 lines (26 loc) 937 B
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import { ReactNode } from 'react'; import * as React from 'react'; export declare function DropDownItem({ children, className, onClick, title, }: { children: React.ReactNode; className: string; onClick: (event: React.MouseEvent<HTMLButtonElement>) => void; title?: string; }): JSX.Element; export default function DropDown({ disabled, buttonLabel, buttonAriaLabel, buttonClassName, buttonIconClassName, children, stopCloseOnClickSelf, anchorElem, bit, }: { disabled?: boolean; buttonAriaLabel?: string; buttonClassName: string; buttonIconClassName?: string; buttonLabel?: string; children: ReactNode; stopCloseOnClickSelf?: boolean; anchorElem?: HTMLElement; bit?: boolean; }): JSX.Element;