Canton dApp Booster
    Preparing search index...

    Return shape of useCopyToClipboard, held by callers rendering their own copy control. <Identifier> consumes it internally.

    const clipboard: UseCopyToClipboardResult = useCopyToClipboard()
    <CopyButton {...clipboard} value={partyId} />
    interface UseCopyToClipboardResult {
        copy: (value: string) => Promise<CopyOutcome>;
        state: CopyState;
    }
    Index
    copy: (value: string) => Promise<CopyOutcome>
    state: CopyState