UNPKG

@innovaccer/design-system

Version:

React components library project for Innovaccer Design System

22 lines (21 loc) 704 B
import * as React from 'react'; import { IconType } from "../../../common.type"; export declare type DropDownButtonSize = 'tiny' | 'regular'; export interface TriggerProps { triggerSize?: DropDownButtonSize; icon?: string; iconType?: IconType; placeholder?: string; inlineLabel?: string; disabled?: boolean; menu?: boolean; error?: boolean; 'aria-label'?: string; 'aria-labelledby'?: string; } export interface DropdownButtonProps extends TriggerProps { children?: React.ReactText; open?: boolean; } declare const DropdownButton: React.ForwardRefExoticComponent<DropdownButtonProps & React.RefAttributes<HTMLButtonElement>>; export default DropdownButton;