Themes

Components/Functional Components/ActionCopy
ActionCopy

An action to delete, with confirmation.

Props

Name
Description
Type
disabled

If the action should be disabled.

boolean
dropdownItem

If the action is within an es-action-dropdown.

boolean
icon

The icon to show for the action.

IconDescription
toast

The details of the toast to be popped, when successfully copied.

ToastOptions
value

The value to be copied when clicked.

string

IconDescription

IconDescription = string | NamespacedIcon

NamespacedIcon

NamespacedIcon = [namespace: string | symbol, name: string]

ToastOptions

Name
Description
Type
duration

How long to display the notification for before removing it.

number
icon

Icon to display on left of the toast. Will default to default of level.

IconDescription
message

Message to be displayed under the title.

string
onClick
(e: MouseEvent ) => void
title

Title to be displayed on the toast.

string