/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import * as React from 'react'; import { ButtonHTMLType } from '../../button/component/button'; import { ButtonGroupProps } from '../../button/component/button-group'; import { DropDownProps } from './dropdown'; declare type DropdownButtonType = 'primary' | 'ghost' | 'dashed'; export interface DropdownButtonProps extends ButtonGroupProps, DropDownProps { type?: DropdownButtonType; htmlType?: ButtonHTMLType; disabled?: boolean; onClick?: React.MouseEventHandler; icon?: React.ReactNode; href?: string; children?: React.ReactNode; title?: string; buttonsRender?: (buttons: React.ReactNode[]) => React.ReactNode[]; } interface DropdownButtonInterface extends React.FC { __ANT_BUTTON: boolean; } declare const DropdownButton: DropdownButtonInterface; export default DropdownButton;