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
601 B
Plaintext
15 lines
601 B
Plaintext
import type { ClientBlock, ClientWidget, Labels } from 'payload';
|
|
import React from 'react';
|
|
import './index.scss';
|
|
export type DrawerItem = ClientBlock | ClientWidget;
|
|
export type ItemsDrawerProps = {
|
|
readonly addRowIndex?: number;
|
|
readonly drawerSlug: string;
|
|
readonly items: (DrawerItem | string)[];
|
|
readonly labels?: Labels;
|
|
readonly onItemClick: (item: DrawerItem, index?: number) => Promise<void> | void;
|
|
readonly searchPlaceholder?: string;
|
|
readonly title?: string;
|
|
};
|
|
export declare const ItemsDrawer: React.FC<ItemsDrawerProps>;
|
|
//# sourceMappingURL=index.d.ts.map |