@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
46 lines • 1.38 kB
TypeScript
import type { TokensType } from '../theme/interface';
export declare const varCreator: (TOKENS: TokensType) => {
tree_indent: number;
tree_active_color: string;
tree_active_color_lightness: number;
tree_min_height: number;
tree_item_height: number;
tree_item_padding_horizontal: number;
tree_item_text_margin_horizontal: number;
tree_item_text_font_size: number;
tree_item_text_color: string;
tree_item_switcher_color: string;
tree_item_switcher_size: number;
tree_item_switcher_lightness: number;
tree_item_disabled_text_color: string;
tree_item_highlight_text_color: string;
};
export type TreeTheme = ReturnType<typeof varCreator>;
export declare const styleCreator: (cv: TreeTheme) => {
tree_item: {
flexDirection: "row";
alignItems: "center";
minHeight: number;
paddingHorizontal: number;
};
tree_item_switcher: {
backgroundColor: string;
paddingHorizontal: number;
paddingVertical: number;
borderRadius: number;
alignSelf: "center";
};
tree_item_text: {
flex: number;
marginHorizontal: number;
fontSize: number;
color: string;
};
tree_item_disabled_text: {
color: string;
};
tree_item_highlight_text: {
color: string;
};
};
//# sourceMappingURL=style.d.ts.map