@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
240 lines • 7.15 kB
TypeScript
/// <reference types="react" />
declare const _default: import("react").NamedExoticComponent<import("./interface").CellProps> & {
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;
}) => {
cell_group_title_padding_horizontal: number;
cell_group_title_padding_top: number;
cell_group_title_padding_bottom: number;
cell_group_title_color: string;
cell_group_title_font_size: number;
cell_group_title_line_height: number;
cell_icon_size: number;
cell_icon_color: string;
cell_active_color: string;
cell_font_size: number;
cell_background_color: string;
cell_padding_vertical: number;
cell_padding_horizontal: number;
cell_mini_height: number;
cell_title_text_color: string;
cell_title_height: number;
cell_title_line_height: number;
cell_title_line_margin_right: number;
cell_value_min_width: number;
cell_value_text_color: string;
cell_extra_text_color: string;
cell_extra_text_font_size: number;
cell_extra_text_line_height: number;
cell_required_color: string;
cell_required_width: number;
cell_icon_link_margin_left: number;
};
styleCreator: (cv: {
cell_group_title_padding_horizontal: number;
cell_group_title_padding_top: number;
cell_group_title_padding_bottom: number;
cell_group_title_color: string;
cell_group_title_font_size: number;
cell_group_title_line_height: number;
cell_icon_size: number;
cell_icon_color: string;
cell_active_color: string;
cell_font_size: number;
cell_background_color: string;
cell_padding_vertical: number;
cell_padding_horizontal: number;
cell_mini_height: number;
cell_title_text_color: string;
cell_title_height: number;
cell_title_line_height: number;
cell_title_line_margin_right: number;
cell_value_min_width: number;
cell_value_text_color: string;
cell_extra_text_color: string;
cell_extra_text_font_size: number;
cell_extra_text_line_height: number;
cell_required_color: string;
cell_required_width: number;
cell_icon_link_margin_left: number;
}) => {
group_title: {
paddingHorizontal: number;
paddingTop: number;
paddingBottom: number;
flexDirection: "row";
justifyContent: "space-between";
alignItems: "center";
};
group_title_text: {
color: string;
fontSize: number;
lineHeight: number;
};
cell: {
backgroundColor: string;
};
cell_inner: {
position: "relative";
marginHorizontal: number;
paddingVertical: number;
};
cell_inner_row: {
flexDirection: "row";
};
cell_inner_has_extra: {
paddingBottom: number;
};
title: {
position: "relative";
flexDirection: "row";
marginRight: number;
flexShrink: number;
};
title_required: {
position: "absolute";
left: number;
height: number;
width: number;
alignItems: "center";
justifyContent: "center";
};
title_required_text: {
fontSize: number;
color: string;
};
title_text: {
minHeight: number;
color: string;
fontSize: number;
lineHeight: number;
paddingVertical: number;
};
value: {
flex: number;
};
hasValue: {
minWidth: number;
};
value_text: {
color: string;
fontSize: number;
lineHeight: number;
paddingVertical: number;
};
extra_text: {
color: string;
fontSize: number;
lineHeight: number;
marginHorizontal: number;
paddingBottom: number;
};
icon_link: {
alignSelf: "center";
marginLeft: number;
};
content: {
flexDirection: "row";
alignItems: "center";
};
};
Group: import("react").NamedExoticComponent<import("./interface").CellGroupProps>;
};
export default _default;
//# sourceMappingURL=index.d.ts.map