Transient result of the last copy, for styling an affordance. Returns to idle on a timer.
idle
<button data-state={state}>{state === 'copied' ? <CheckIcon /> : <CopyIcon />}</button> Copy
<button data-state={state}>{state === 'copied' ? <CheckIcon /> : <CopyIcon />}</button>
Transient result of the last copy, for styling an affordance. Returns to
idleon a timer.