ActionsDropdown
View Source
A shared implementation for the Profile actions dropdown.
Props
children
ReactReactNode
Accepts Dropdown.Item and Dropdown.Link elements.
defaultButtonProps
object
Props for default button state.
duplicates
signature
Provide amount of duplicates as well as a link to resolve them.
duplicatesButtonProps
object
Props for duplicates button state. Activated when duplicates.amount
is greater than 0.
inactive
signature
Provide date and reason user became inactive as well as a link to reactivate them.
inactiveButtonProps
object
Props for inactive button state. Activated when inactive.date
is present.
isBelowManager
boolean
Determines logic for when user is below manager role.
isPeopleProduct
boolean
Determines logic for when used in People product.
onDeleteProfile
ReactComponentProps['onSelect']
Callback when “Delete Profile” item is selected.