DropdownButtonProps

Interface

The DropdownButton component props

Inheritance: DropdownButtonPropsButtonProps

Properties

active optional

active: boolean

If true, the button will appear as active.

arrow optional

arrow: boolean | ReactElement<anystring | function | function>

If true, an arrow icon will be shown at the end of the button. The icon can be customized by assigning the property with an element instead.

block optional

block: boolean

If true, the button will span the full width of its parent.

disabled optional

disabled: boolean

If true, the button will be disabled.

href optional

href: string

Sets value for the native href property of the <a> element when tag property is a.

htmlType optional

htmlType: void | void | void

Sets value for the native type property of the <button> element when tag property is button.

icon optional

icon: boolean

If true, the button will be displayed as an icon button with custom styles applied to make the width and height equal.

onClick optional

onClick: function

Fire callback when the button is clicked.

Type declaration
    (eventMouseEvent<anyMouseEvent>): void
    Parameters
    • eventMouseEvent<anyMouseEvent>
    Returns 
    void

rel optional

rel: string

Sets value for the native rel property of the <a> element when tag property is a.

size optional

size: ButtonSize

Defines the size of the button. The button will take the default size if the value is undefined.

tag optional

tag: ElementType<any>

Custom html element to be used as a button.

target optional

target: string

Sets value for the native target property of the <a> element when tag property is a.

type optional

type: ButtonType

Sets button type to one of the pre-defined button types that are used for different purposes, such as default and primary.

vertical optional

vertical: boolean

If true, the content in the button will be displayed vertically.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.