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
16 lines
712 B
Plaintext
16 lines
712 B
Plaintext
import type { SanitizedCollectionConfig } from 'payload';
|
|
import React from 'react';
|
|
import type { DocumentDrawerContextType } from '../DocumentDrawer/Provider.js';
|
|
import './index.scss';
|
|
export type Props = {
|
|
readonly buttonId?: string;
|
|
readonly collectionSlug: SanitizedCollectionConfig['slug'];
|
|
readonly id?: string;
|
|
readonly onDelete?: DocumentDrawerContextType['onDelete'];
|
|
readonly redirectAfterDelete?: boolean;
|
|
readonly singularLabel: SanitizedCollectionConfig['labels']['singular'];
|
|
readonly title?: string;
|
|
readonly useAsTitle: SanitizedCollectionConfig['admin']['useAsTitle'];
|
|
};
|
|
export declare const DeleteDocument: React.FC<Props>;
|
|
//# sourceMappingURL=index.d.ts.map |