Clipboard


Plain action with done hint:

Usage

API

Props

PropTypeDefaultDescription
valueString-Text to copy to clipboard
doneHintString"Copied"Notification message after copy
multilineBooleanfalsePreserve newlines when copying (uses a textarea)
plainBooleanfalsePlain button style (Button attr)

Note: Requires a <Notification /> component in your app for the copy confirmation.