@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
35 lines (34 loc) • 946 B
TypeScript
import type { TokensType } from '../theme/interface';
export declare const varCreator: (TOKENS: TokensType) => {
result_success_color: string;
result_error_color: string;
result_info_color: string;
result_warning_color: string;
result_icon_size: number;
result_title_font_size: number;
result_title_color: string;
result_subtitle_font_size: number;
result_subtitle_color: string;
};
declare type ComponentVars = ReturnType<typeof varCreator>;
export declare const styleCreator: (cv: ComponentVars) => {
icon: {
width: number;
height: number;
borderRadius: number;
justifyContent: "center";
};
titleText: {
lineHeight: number;
fontSize: number;
color: string;
textAlign: "center";
};
subtitleText: {
lineHeight: number;
fontSize: number;
color: string;
textAlign: "center";
};
};
export {};