UNPKG

@fruits-chain/react-native-xiaoshu

Version:
26 lines • 951 B
import type { ViewStyle } from 'react-native'; import type { TokensType } from '../theme/interface'; import type { PopupPosition } from './interface'; export declare const varCreator: (TOKENS: TokensType) => { popup_background_color: string; popup_round_border_radius: number; popup_close_icon_size: number; popup_close_icon_color: string; popup_close_icon_margin_left: number; }; export type PopupTheme = ReturnType<typeof varCreator>; export declare const styleCreator: (cv: PopupTheme) => { popup: { position: "relative"; backgroundColor: string; overflow: "hidden"; height: number; }; popup_active: { position: "absolute"; height: "auto"; }; }; export declare const getBorderRadius: (cv: PopupTheme, position: PopupPosition, round: boolean) => ViewStyle; export declare const PopupPositionMap: Record<PopupPosition, ViewStyle>; //# sourceMappingURL=style.d.ts.map