@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
174 lines • 4.97 kB
TypeScript
/// <reference types="react" />
declare const _default: (<T extends import("./interface").TabValue>(p: import("./interface").TabBarProps<T>) => JSX.Element) & {
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;
}) => {
tab_bar_item_padding_horizontal: number;
tab_bar_text_font_size: number;
tab_bar_text_alone_font_size: number;
tab_bar_text_margin_top: number;
tab_bar_text_color: string;
tab_bar_badge_font_size: number;
tab_bar_badge_color: string;
tab_bar_icon_color: string;
tab_bar_active_text_color: string;
tab_bar_active_icon_color: string;
tab_bar_indicator_color: string;
};
styleCreator: (cv: {
tab_bar_item_padding_horizontal: number;
tab_bar_text_font_size: number;
tab_bar_text_alone_font_size: number;
tab_bar_text_margin_top: number;
tab_bar_text_color: string;
tab_bar_badge_font_size: number;
tab_bar_badge_color: string;
tab_bar_icon_color: string;
tab_bar_active_text_color: string;
tab_bar_active_icon_color: string;
tab_bar_indicator_color: string;
}) => {
tab_bar: {
flexDirection: "row";
alignItems: "center";
justifyContent: "center";
};
tab_bar_scroll: {
height: "100%";
};
tab_bar_scroll_content: {
paddingHorizontal: number;
alignItems: "center";
};
tab_bar_scroll_content_label_bulge: {
justifyContent: "center";
minWidth: "100%";
};
item: {
paddingHorizontal: number;
alignItems: "center";
justifyContent: "center";
height: "100%";
};
item_adaption: {
flex: number;
};
item_no_icon: {
flexDirection: "column";
alignItems: "center";
};
item_text: {
fontSize: number;
};
item_text_full: {
width: "100%";
textAlign: "center";
};
item_text_icon: {
marginTop: number;
fontSize: number;
};
item_text_badge: {
fontSize: number;
color: string;
};
};
};
export default _default;
//# sourceMappingURL=index.d.ts.map