@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
27 lines (26 loc) • 823 B
TypeScript
import type { TokensType } from '../theme/interface';
export declare const varCreator: (TOKENS: TokensType) => {
notify_text_color: string;
notify_padding_vertical: number;
notify_padding_horizontal: number;
notify_font_size: number;
notify_line_height: number;
notify_primary_background_color: string;
notify_success_background_color: string;
notify_error_background_color: string;
notify_warning_background_color: string;
};
declare type ComponentVars = ReturnType<typeof varCreator>;
export declare const styleCreator: (cv: ComponentVars) => {
notify: {
alignItems: "center";
justifyContent: "center";
paddingHorizontal: number;
paddingVertical: number;
};
text: {
fontSize: number;
lineHeight: number;
};
};
export {};