@fruits-chain/react-native-xiaoshu
Version:
React Native UI library
90 lines (89 loc) • 2.08 kB
TypeScript
import type { ThemeVarType } from '../theme';
export declare const createStyles: (themeVar: ThemeVarType) => {
input: {
flexGrow: number;
flexShrink: number;
flexDirection: "row";
};
input_border: {
borderWidth: number;
borderRadius: number;
borderColor: string;
};
input_disabled: {
backgroundColor: string;
};
text_input: {
flexGrow: number;
flexShrink: number;
paddingHorizontal: number;
paddingVertical: number;
margin: number;
borderWidth: number;
textAlignVertical: "center";
color: string;
};
text_input_disabled: {
color: string;
};
input_fix_group: {
flexDirection: "row";
alignItems: "center";
paddingHorizontal: number;
};
input_fix_text: {
color: string;
};
input_fix_text_pre: {
marginRight: number;
};
input_fix_text_suf: {
marginLeft: number;
};
clearable: {
alignSelf: "center";
width: number;
height: number;
borderRadius: number;
backgroundColor: string;
alignItems: "center";
justifyContent: "center";
marginLeft: number;
};
addon_group: {
flexDirection: "row";
alignItems: "center";
};
addon_text: {
color: string;
};
addon_text_before: {
marginRight: number;
};
addon_text_after: {
marginLeft: number;
};
word_limit_text: {
position: "absolute";
bottom: number;
right: number;
fontSize: number;
color: string;
};
accessory: {
width: string;
height: number;
flexDirection: "row";
justifyContent: "flex-end";
alignItems: "center";
borderTopColor: string;
borderTopWidth: number;
};
accessory_text: {
color: string;
fontSize: number;
paddingHorizontal: number;
lineHeight: number;
fontWeight: "bold";
};
};