Files
klz-cables.com/.pnpm-store/v10/files/56/e7aa200d64e5ed3c34b768084ebb82249c1ae0c7afdb324c0499e05cad6d1bc921ce7f5c400a7e88da14fb7657719530a88dd457cbfbadc0ebeb4a81758337
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

27 lines
1.0 KiB
Plaintext

import React from 'react';
import type { DocumentDrawerProps, DocumentTogglerProps, UseDocumentDrawer } from './types.js';
import './index.scss';
export declare const documentDrawerBaseClass = "doc-drawer";
export declare const DocumentDrawerToggler: React.FC<DocumentTogglerProps>;
export declare const DocumentDrawer: React.FC<DocumentDrawerProps>;
/**
* A hook to manage documents from a drawer modal.
* It provides the components and methods needed to open, close, and interact with the drawer.
* @example
* const [DocumentDrawer, DocumentDrawerToggler, { openDrawer, closeDrawer }] = useDocumentDrawer({
* collectionSlug: 'posts',
* id: postId, // optional, if not provided, it will render the "create new" view
* })
*
* // ...
*
* return (
* <div>
* <DocumentDrawerToggler collectionSlug="posts" id={postId}>
* Edit Post
* </DocumentDrawerToggler>
* <DocumentDrawer collectionSlug="posts" id={postId} />
* </div>
*/
export declare const useDocumentDrawer: UseDocumentDrawer;
//# sourceMappingURL=index.d.ts.map