Files
klz-cables.com/.pnpm-store/v10/files/30/bd2bc996453e351d7936ca1595e9bc10ddcdea226f9b9ff10efaa03577331b198084b73aaa0ae67f2fe7d7fdd12d13f858efa47fe866cd6b53f90521e118f5
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.3 KiB
Plaintext

import React from 'react';
import type { DragHandleProps } from '../DraggableSortable/DraggableSortableItem/types.js';
import './index.scss';
import { CollapsibleProvider, useCollapsible } from './provider.js';
export { CollapsibleProvider, useCollapsible };
export type CollapsibleProps = {
actions?: React.ReactNode;
/**
* Components that will be rendered within the collapsible provider but after the wrapper.
*/
AfterCollapsible?: React.ReactNode;
children: React.ReactNode;
className?: string;
collapsibleStyle?: 'default' | 'error';
/**
* If set to true, clicking on the collapsible header will not toggle the collapsible state.
* This is useful if the collapsible state is controlled externally (e.g. from a parent component or custom button).
*/
disableHeaderToggle?: boolean;
/**
* If set to true, the toggle indicator (chevron) on the right side of the header will be hidden.
*/
disableToggleIndicator?: boolean;
dragHandleProps?: DragHandleProps;
header?: React.ReactNode;
initCollapsed?: boolean;
isCollapsed?: boolean;
onToggle?: (collapsed: boolean) => Promise<void> | void;
};
export declare const Collapsible: React.FC<CollapsibleProps>;
//# sourceMappingURL=index.d.ts.map