ov25-ui
Version:
A UI configurator for OV25 product visualization
27 lines (26 loc) • 964 B
TypeScript
import React from 'react';
export type Snap2SettingsSheetMode = 'modal' | 'drawer';
export type Snap2SettingsSheetProps = {
open: boolean;
onOpenChange: (open: boolean) => void;
mode: Snap2SettingsSheetMode;
sheetSide?: 'left' | 'right';
children: React.ReactNode;
/** When set, main area scrolls and footer stays pinned at the bottom of the column. */
footer?: React.ReactNode;
/** Modal column z-index; checkout should stack above variants (e.g. z-[110] vs z-102). */
sheetZClass?: string;
stackWithinConfigurator?: boolean;
withBackdrop?: boolean;
showCloseButton?: boolean;
closeButtonAriaLabel?: string;
id?: string;
'aria-labelledby'?: string;
'aria-modal'?: boolean;
role?: React.AriaRole;
className?: string;
};
/**
* (`data-ov25-snap2-settings-sheet` + `data-open`), and the same corner close control.
*/
export declare const Snap2SettingsSheet: React.FC<Snap2SettingsSheetProps>;