UNPKG

@fruits-chain/react-native-xiaoshu

Version:
134 lines • 3.93 kB
import React from 'react'; import type { PopupProps, PopupPageProps } from './interface'; declare const _default: React.NamedExoticComponent<PopupProps> & { varCreator: (TOKENS: { animation_duration_base: number; animation_duration_fast: number; border_color: string; underlay_color: string; yellow_1: string; yellow_2: string; yellow_3: string; yellow_4: string; yellow_5: string; yellow_6: string; yellow_7: string; yellow_8: string; yellow_9: string; yellow_10: string; green_1: string; green_2: string; green_3: string; green_4: string; green_5: string; green_6: string; green_7: string; green_8: string; green_9: string; green_10: string; brand_1: string; brand_2: string; brand_3: string; brand_4: string; brand_5: string; brand_6: string; brand_7: string; brand_8: string; brand_9: string; brand_10: string; red_1: string; red_2: string; red_3: string; red_4: string; red_5: string; red_6: string; red_7: string; red_8: string; red_9: string; red_10: string; gray_1: string; gray_2: string; gray_3: string; gray_4: string; gray_5: string; gray_6: string; gray_7: string; gray_8: string; black: string; white: string; opacity_10: number; opacity_5: number; opacity_20: number; opacity_30: number; opacity_40: number; opacity_50: number; opacity_60: number; opacity_70: number; opacity_80: number; opacity_90: number; opacity_100: number; font_size_1: number; font_size_2: number; font_size_3: number; font_size_4: number; font_size_5: number; font_size_6: number; font_size_7: number; font_size_8: number; font_size_9: number; font_size_10: number; line_height_1: number; line_height_2: number; line_height_3: number; line_height_4: number; line_height_5: number; space_1: number; space_2: number; space_3: number; space_4: number; space_5: number; space_6: number; space_7: number; space_8: number; space_9: number; space_10: number; border_radius_xxs: number; border_radius_xs: number; border_radius_s: number; border_radius_m: number; border_radius_l: number; border_radius_xl: number; border_radius_max: number; }) => { 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; }; styleCreator: (cv: { 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; }) => { popup: { position: "relative"; backgroundColor: string; overflow: "hidden"; height: number; }; popup_active: { position: "absolute"; height: "auto"; }; }; PopupComponent: React.NamedExoticComponent<PopupProps>; Header: React.NamedExoticComponent<import("./interface").PopupHeaderProps>; Page: React.FC<PopupPageProps>; PageComponent: React.NamedExoticComponent<PopupPageProps>; KeyboardShim: React.NamedExoticComponent<import("./interface").PopupKeyboardShimProps>; }; export default _default; //# sourceMappingURL=index.d.ts.map