@crossed/ui
Version:
A universal & performant styling library for React Native, Next.js & React
35 lines • 2.09 kB
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.
*/
export declare const Sheet: import("react").ForwardRefExoticComponent<{
open?: boolean;
defaultValue?: boolean;
onOpenChange?: (_value: boolean) => void;
offset?: number;
} & {
children?: import("react").ReactNode | undefined;
} & Pick<import("./context").SheetContext, "dismissOnOverlayPress" | "hideHandle"> & import("react").RefAttributes<import("@crossed/sheet").ActionSheetRef>> & {
Trigger: import("react").ForwardRefExoticComponent<import("react-native").PressableProps & {
asChild?: boolean;
} & import("react").RefAttributes<import("react-native").View>>;
Content: import("react").NamedExoticComponent<Omit<import("@crossed/sheet").ActionSheetProps, "containerStyle" | "indicatorStyle"> & {
containerStyle?: import("@crossed/styled").CrossedMethods<any>;
indicatorStyle?: import("@crossed/styled").CrossedMethods<any>;
} & import("react").RefAttributes<import("@crossed/sheet").ActionSheetRef>>;
ScrollView: import("react").NamedExoticComponent<Omit<import("react-native").ScrollViewProps, "contentContainerStyle"> & {
contentContainerStyle?: import("@crossed/styled").CrossedMethods<any>;
} & import("react").RefAttributes<typeof import("react-native").ScrollView>>;
FlatList: import("react").NamedExoticComponent<import("react-native").FlatListProps<any> & {
padded?: boolean;
} & import("react").RefAttributes<typeof import("react-native").FlatList>>;
SectionList: import("react").NamedExoticComponent<import("react-native").SectionListProps<any, import("react-native").DefaultSectionT> & {
padded?: boolean;
} & import("react").RefAttributes<typeof import("react-native").SectionList>>;
Padded: import("react").NamedExoticComponent<(import("../..").BoxProps & {
fullHeight?: boolean;
}) & import("react").RefAttributes<import("react-native").View>>;
};
//# sourceMappingURL=index.d.ts.map