@carbon/ibm-products
Version:
Carbon for IBM Products
30 lines • 857 B
TypeScript
/**
* Copyright IBM Corp. 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import { ReactNode } from 'react';
/**
* -------------
* Context setup
* -------------
*/
interface TearsheetContextType {
fullyCollapsed: boolean;
setFullyCollapsed?: (value: boolean) => void;
refs?: any;
onClose?: () => void;
disableHeaderCollapse?: boolean;
setDisableHeaderCollapse?: (value: boolean) => void;
variant: 'wide' | 'narrow';
isSm: boolean;
decorator?: ReactNode;
closeIconDescription?: string;
hideCloseButton?: boolean;
titleId?: string;
}
export declare const TearsheetContext: import("react").Context<TearsheetContextType>;
export declare const blockClass: string;
export {};
//# sourceMappingURL=context.d.ts.map