UNPKG

@fruits-chain/react-native-xiaoshu

Version:
28 lines (27 loc) • 791 B
import type { TokensType } from '../theme/interface'; export declare const varCreator: (TOKENS: TokensType) => { switch_size: number; switch_width_ratio: number; switch_height_ratio: number; switch_node_size_ratio: number; switch_node_background_color: string; switch_background_color: string; switch_on_background_color: string; switch_transition_duration: number; switch_disabled_opacity: number; }; declare type ComponentVars = ReturnType<typeof varCreator>; export declare const styleCreator: (cv: ComponentVars) => { switch: { justifyContent: "center"; }; node: { backgroundColor: string; alignItems: "center"; justifyContent: "center"; }; disabled: { opacity: number; }; }; export {};