Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
21 lines
747 B
Plaintext
21 lines
747 B
Plaintext
import type { FormStateWithoutComponents } from 'payload';
|
|
import { type FC } from 'react';
|
|
import type { ClipboardCopyData, OnPasteFn } from './types.js';
|
|
type Props = {
|
|
allowCopy?: boolean;
|
|
allowPaste?: boolean;
|
|
className?: string;
|
|
copyClassName?: string;
|
|
disabled?: boolean;
|
|
getDataToCopy: () => FormStateWithoutComponents;
|
|
isRow?: boolean;
|
|
onPaste: OnPasteFn;
|
|
pasteClassName?: string;
|
|
} & ClipboardCopyData;
|
|
/**
|
|
* Menu actions for copying and pasting fields. Currently, this is only used in Arrays and Blocks.
|
|
* @note This component doesn't use the Clipboard API, but localStorage. See rationale in #11513
|
|
*/
|
|
export declare const ClipboardAction: FC<Props>;
|
|
export {};
|
|
//# sourceMappingURL=index.d.ts.map |