@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
53 lines (52 loc) • 1.35 kB
TypeScript
import type { TokensType } from '../theme/interface';
export declare const varCreator: (TOKENS: TokensType) => {
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_icon_color: string;
tab_bar_active_text_color: string;
tab_bar_active_icon_color: string;
tab_bar_indicator_color: string;
};
declare type ComponentVars = ReturnType<typeof varCreator>;
export declare const styleCreator: (cv: ComponentVars) => {
tab_bar: {
flexDirection: "row";
alignItems: "center";
justifyContent: "center";
};
tab_bar_scroll: {
height: string;
};
tab_bar_scroll_content: {
paddingHorizontal: number;
alignItems: "center";
};
item: {
paddingHorizontal: number;
alignItems: "center";
justifyContent: "center";
height: string;
};
item_adaption: {
flex: number;
};
item_no_icon: {
flexDirection: "column";
alignItems: "center";
};
item_text: {
fontSize: number;
};
item_text_full: {
width: string;
textAlign: "center";
};
item_text_icon: {
marginTop: number;
fontSize: number;
};
};
export {};