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
15 lines
786 B
Plaintext
15 lines
786 B
Plaintext
import type { CollectionSlug } from 'payload';
|
|
import React from 'react';
|
|
export declare function ListCreateNewDocInFolderButton({ buttonLabel, buttonSize, buttonStyle, collectionSlugs, folderAssignedCollections, onCreateSuccess, slugPrefix, }: {
|
|
buttonLabel: string;
|
|
buttonSize?: 'large' | 'medium' | 'small' | 'xsmall';
|
|
buttonStyle?: 'error' | 'icon-label' | 'none' | 'pill' | 'primary' | 'secondary' | 'subtle' | 'tab' | 'transparent';
|
|
collectionSlugs: CollectionSlug[];
|
|
folderAssignedCollections: CollectionSlug[];
|
|
onCreateSuccess: (args: {
|
|
collectionSlug: CollectionSlug;
|
|
doc: Record<string, unknown>;
|
|
}) => Promise<void> | void;
|
|
slugPrefix: string;
|
|
}): React.JSX.Element;
|
|
//# sourceMappingURL=ListCreateNewDocInFolderButton.d.ts.map |