Files
klz-cables.com/.pnpm-store/v10/files/29/f96f49045d77eeb4b1ef130ef205c6b1ce023c55fdbfc4427c29fe16e431d266bfd4cb84ac4a44b0a8e3301577757dc882921666aa52446dc73eb84ccfddba
Marc Mintel 5397309103
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
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

31 lines
1.1 KiB
Plaintext

import React from 'react';
import type { ListDrawerProps, ListTogglerProps, UseListDrawer } from './types.js';
export * from './types.js';
export declare const baseClass = "list-drawer";
export declare const formatListDrawerSlug: ({ depth, uuid, }: {
depth: number;
uuid: string;
}) => string;
export declare const ListDrawerToggler: React.FC<ListTogglerProps>;
export declare const ListDrawer: React.FC<ListDrawerProps>;
/**
* Returns an array containing the ListDrawer component, the ListDrawerToggler component, and an object with state and methods for controlling the drawer.
* @example
* import { useListDrawer } from '@payloadcms/ui'
*
* // inside a React component
* const [ListDrawer, ListDrawerToggler, { closeDrawer, openDrawer }] = useListDrawer({
* collectionSlugs: ['users'],
* selectedCollection: 'users',
* })
*
* // inside the return statement
* return (
* <>
* <ListDrawer />
* <ListDrawerToggler onClick={openDrawer}>Open List Drawer</ListDrawerToggler>
* </>
* )
*/
export declare const useListDrawer: UseListDrawer;
//# sourceMappingURL=index.d.ts.map