ActionsDropdown

View Source

A shared implementation for the Profile actions dropdown.

Default State

Duplicates State

Inactive State

Custom Styles

Props

childrenReactReactNode

Accepts Dropdown.Item and Dropdown.Link elements.

Props for default button state.

duplicatessignature
amount:number

Amount of duplicates.

linkProps:object

Link props.

Provide amount of duplicates as well as a link to resolve them.

Props for duplicates button state. Activated when duplicates.amount is greater than 0.

inactivesignature
date:Date

Valid JavaScript Date.

linkProps:object

Link props.

reason:string

Reason user was inactivated.

Provide date and reason user became inactive as well as a link to reactivate them.

Props for inactive button state. Activated when inactive.date is present.

Determines logic for when user is below manager role.

Determines logic for when used in People product.

onDeleteProfileReactComponentProps['onSelect']

Callback when “Delete Profile” item is selected.