@backpackapp-io/react-native-toast
Version:
A toasting library for React Native. Built in features such as swipe to dismiss, multiple toasts, & no context power this library.
21 lines • 679 B
TypeScript
import type { ViewStyle } from 'react-native';
/**
* Construct a shadow object given a color and opacity
* @param color The hexidecimal color to turn into a shadow
* @param opacity the opacity of the shadow
* @param enlargeShadow
* @param isImage
*/
export declare const ConstructShadow: (color?: string, opacity?: number, enlargeShadow?: boolean, isImage?: boolean, floatBelow?: boolean) => ViewStyle;
export declare const colors: {
primary: string;
backgroundLight: string;
backgroundDark: string;
success: string;
error: string;
info: string;
textLight: string;
textDark: string;
label: string;
};
//# sourceMappingURL=styles.d.ts.map