v14.2.0

Playroom

Github

ActionsDropdown

View Source

A shared implementation for the Profile actions dropdown.

Default State

Actions
Copy
Edit

Duplicates State

Actions
Copy
Edit

Inactive State

Actions
Copy
Edit

Custom Styles

Actions
Copy
Edit

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.

reason:string

Reason user was inactivated.

linkProps:object

Link props.

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.

Callback when โ€œDelete Profileโ€ item is selected.

  • Default State
  • Duplicates State
  • Inactive State
  • Custom Styles
  • Props
PreviousWrapViewNextAlert