@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
37 lines • 1.21 kB
TypeScript
import type { TokensType } from '../theme/interface';
export declare const varCreator: (TOKENS: TokensType) => {
notice_bar_m_padding_vertical: number;
notice_bar_m_padding_horizontal: number;
notice_bar_s_padding_vertical: number;
notice_bar_s_padding_horizontal: number;
notice_bar_text_line_height: number;
notice_bar_border_radius: number;
notice_bar_text_font_size: number;
notice_bar_icon_size: number;
notice_bar_icon_margin_horizontal: number;
notice_bar_primary_text_color: string;
notice_bar_success_text_color: string;
notice_bar_warning_text_color: string;
notice_bar_error_text_color: string;
notice_bar_background_color_lightness: number;
};
export type NoticeBarTheme = ReturnType<typeof varCreator>;
export declare const styleCreator: (cv: NoticeBarTheme) => {
notice_bar: {
flexDirection: "row";
};
notice_bar_m: {
paddingHorizontal: number;
paddingVertical: number;
};
notice_bar_s: {
paddingHorizontal: number;
paddingVertical: number;
};
text: {
fontSize: number;
lineHeight: number;
flex: number;
};
};
//# sourceMappingURL=style.d.ts.map