text-editor-drcsystems
Version:
Text Editor Made with Love by DRC Systems
27 lines (26 loc) • 937 B
TypeScript
/**
* 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;