@fruits-chain/react-native-xiaoshu
Version:
React Native UI library
35 lines (34 loc) • 924 B
TypeScript
import type { ThemeVarType } from '../theme';
export declare const createStyles: (themeVar: ThemeVarType) => {
switch: {
justifyContent: "center";
borderWidth: number;
borderStyle: "solid" | "dotted" | "dashed";
borderColor: string;
};
node: {
elevation: number;
shadowColor?: undefined;
shadowOffset?: undefined;
shadowOpacity?: undefined;
shadowRadius?: undefined;
backgroundColor: string;
alignItems: "center";
justifyContent: "center";
} | {
shadowColor: string;
shadowOffset: {
width: number;
height: number;
};
shadowOpacity: number;
shadowRadius: number;
elevation?: undefined;
backgroundColor: string;
alignItems: "center";
justifyContent: "center";
};
disabled: {
opacity: number;
};
};