@crossed/ui
Version:
A universal & performant styling library for React Native, Next.js & React
39 lines • 2.5 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 { FloatingTrigger, type FloatingTriggerProps } from './Trigger';
export { FloatingContent, type FloatingContentProps } from './Content';
export { FloatingOverlay, type FloatingOverlayProps } from './Overlay';
export { type FloatingProps, type FloatingRef } from './Root';
export { FloatingPortal, type FloatingPortalProps } from './Portal';
export { useFloatingConfig, useFloatingContext } from './context';
export declare const Floating: import("react").NamedExoticComponent<{
children?: import("react").ReactNode | undefined;
} & {
closeOverlayPress?: boolean;
removeScroll?: boolean;
wait?: number;
defaultValue?: boolean;
value?: boolean;
onChange?: (_p: boolean) => void;
portal?: boolean;
} & Partial<Pick<import("./context").FloatingConfig, "triggerStrategy" | "enabled">> & import("react").RefAttributes<import("./Root").FloatingRef>> & {
Trigger: import("react").NamedExoticComponent<Omit<import("../../Slot").SlotProps<import("react-native").PressableProps>, "style" | "Comp"> & {
style?: import("@crossed/styled").CrossedMethods<any>;
} & import("react").RefAttributes<import("react-native").View>>;
Content: import("react").NamedExoticComponent<Omit<Partial<import("react-native-reanimated").AnimatedProps<import("react-native").ViewProps>>, "children" | "style"> & {
style?: import("@crossed/styled").CrossedMethods<any>;
animatedStyle?: import("react-native-reanimated").AnimatedProps<import("react-native").ViewProps>["style"];
children?: import("react").ReactNode;
} & import("react").RefAttributes<import("react-native").View>>;
VisibilityHidden: import("react").NamedExoticComponent<Partial<Omit<import("react-native-reanimated").AnimatedProps<import("react-native").ViewProps>, "style">> & {
style?: import("@crossed/styled").CrossedMethods<any>;
animatedStyle?: import("react-native-reanimated").AnimatedProps<import("react-native").ViewProps>["style"];
} & import("react").RefAttributes<import("react-native").View>>;
Portal: import("react").NamedExoticComponent<import("./Portal").FloatingPortalProps>;
Overlay: import("react").MemoExoticComponent<({ style, animatedProps }: import("./Overlay").FloatingOverlayProps) => import("react/jsx-runtime").JSX.Element>;
};
//# sourceMappingURL=index.d.ts.map