Share via


CustomCallControlButtonProps interface

Response from CustomCallControlButtonCallback. Includes the base props necessary to render a ControlBarButton or <xref:DrawerMenuItem>.

Properties

disabled

Whether the buttons is disabled

iconName

Icon to render. Icon is a non-default icon name that needs to be registered as a custom icon using registerIcons through fluentui. Examples include icons from the fluentui library

id

A unique id set for the standard HTML id attibute

onItemClick

Calback for when button is clicked

placement

Where to place the custom button relative to other buttons.

showLabel

Whether the label is displayed or not. If no value is set, showLabel will follow composite rules

strings

Optional strings to override in component

Property Details

disabled

Whether the buttons is disabled

disabled?: boolean

Property Value

boolean

iconName

Icon to render. Icon is a non-default icon name that needs to be registered as a custom icon using registerIcons through fluentui. Examples include icons from the fluentui library

iconName?: string

Property Value

string

id

A unique id set for the standard HTML id attibute

id?: string

Property Value

string

onItemClick

Calback for when button is clicked

onItemClick?: () => void

Property Value

() => void

placement

Where to place the custom button relative to other buttons.

placement: CustomCallControlButtonPlacement

Property Value

showLabel

Whether the label is displayed or not. If no value is set, showLabel will follow composite rules

showLabel?: boolean

Property Value

boolean

strings

Optional strings to override in component

strings?: CustomCallControlButtonStrings

Property Value