@crossed/ui
Version:
A universal & performant styling library for React Native, Next.js & React
24 lines • 924 B
TypeScript
/**
* Copyright (c) Paymium.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root of this projects source tree.
*/
import { type PropsWithChildren } from 'react';
import { type SheetContext } from './context';
import { ActionSheetRef } from '@crossed/sheet';
export type SheetProps = PropsWithChildren<{
open?: boolean;
defaultValue?: boolean;
onOpenChange?: (_value: boolean) => void;
offset?: number;
}> & Pick<SheetContext, 'dismissOnOverlayPress' | 'hideHandle'>;
export declare const Root: import("react").ForwardRefExoticComponent<{
open?: boolean;
defaultValue?: boolean;
onOpenChange?: (_value: boolean) => void;
offset?: number;
} & {
children?: import("react").ReactNode | undefined;
} & Pick<SheetContext, "dismissOnOverlayPress" | "hideHandle"> & import("react").RefAttributes<ActionSheetRef>>;
//# sourceMappingURL=Root.d.ts.map