@crossed/ui
Version:
A universal & performant styling library for React Native, Next.js & React
40 lines • 1.14 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.
*/
import { CrossedMethods } from '@crossed/styled';
import { AnimatedProps } from 'react-native-reanimated';
import { ViewProps } from 'react-native';
export declare const overlayStyles: {
root: CrossedMethods<{
base: {
position: "absolute";
backgroundColor: "black";
opacity: number;
top: number;
left: number;
right: number;
bottom: number;
zIndex: number;
};
web: {
base: {
position: "fixed";
};
};
}>;
};
export type FloatingOverlayProps = {
/**
* Crossed style
*/
style?: CrossedMethods<any>;
/**
* Animated style
*/
animatedProps?: AnimatedProps<ViewProps>;
};
export declare const FloatingOverlay: import("react").MemoExoticComponent<({ style, animatedProps }: FloatingOverlayProps) => import("react/jsx-runtime").JSX.Element>;
//# sourceMappingURL=Overlay.d.ts.map