Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
normal: {
color: '#666',
fontSize: 16,
margin: {
top: 6,
left: 4,
right: 3,
},
last: {
color: '#4d63ff',
},
},
},
},
},
[Widget.Input]: {
Container: {
normal: {
width: 230,
height: 32,
margin: {
right: 10
}
}
}
},
[Widget.Button]: {
Container: {
normal: {
width: 80,
margin:{
right: 10
render() {
const {windowHeight = 900} = this.state||{};
const iconTheme = {
[Widget.Icon]: {
fontSize: 36
},
};
const theme = {
[Widget.Input]: {
Input: {
normal: {
width: 340,
height: 40,
borderRadius: 20,
padding: {
left: 30,
right: 0,
}
}
},
InputSuffix: {normal: { fontSize: 36}},
},
[Widget.Button]: {
Container: {
normal: {
right: -20
}
}
},
//单个按钮属性设置失效
Radio: {
theme: {
Container: {
normal: {
width: 70
}
}
}
}
},
[Widget.Input]: {
Container: {
normal: {
width: 176,
height: 32,
fontSize: 14
}
},
InputPrefix: {
normal: {
fontSize: 12
}
}
}
};
const view = {
[Widget.Avatar]: {
margin-left: 26px;
`;
const theme= {
[Widget.Avatar]: {
Container: {
normal: {
height: 32,
width: 32,
boxShadow:' 0 0 1px 1px red'
},
},
},
};
const inputTheme= {
[Widget.Input]: {
Container: {
normal: {
height: 32,
width: 200,
borderRadius:getBorderRadius(28),
border: getBorder({width: 1,color:'transparent'}),
background: {
color: '#f5f5f9'
}
},
hover: {
borderRadius:getBorderRadius(28)
},
},
Placeholder: {
normal: {
render() {
const {windowHeight = 900} = this.state || {};
const {autoSignIn} = this.props ;
const theme = {
[Widget.Input]: {
Input: {
normal: {
width: 340,
height: 40,
borderRadius: 20,
padding: {
left: 30,
right: 0,
}
}
},
InputSuffix: {normal: { fontSize: 36}},
},
[Widget.Button]: {