We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
希望可以新增 ColItem 圆角属性 , 这个在一些场景还是挺常用的 const getColItemStyle = (obj: SkeletonRowColObj): Styles => { const styleName = [ 'width', 'height', 'marginRight', 'marginLeft', 'margin', 'size', 'background', 'backgroundColor', ]; const style: Styles = {}; styleName.forEach((name) => { if (name in obj) { const px = pxCompat(obj[name]); if (name === 'size') { [style.width, style.height] = [px, px]; } else { style[name] = px; } } }); return style; };
SkeletonRowColObj 新增 borderRadio 属性
The text was updated successfully, but these errors were encountered:
👋 @zhemuse,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
No branches or pull requests
这个功能解决了什么问题
希望可以新增 ColItem 圆角属性 , 这个在一些场景还是挺常用的
const getColItemStyle = (obj: SkeletonRowColObj): Styles => {
const styleName = [
'width',
'height',
'marginRight',
'marginLeft',
'margin',
'size',
'background',
'backgroundColor',
];
const style: Styles = {};
styleName.forEach((name) => {
if (name in obj) {
const px = pxCompat(obj[name]);
if (name === 'size') {
[style.width, style.height] = [px, px];
} else {
style[name] = px;
}
}
});
return style;
};
你建议的方案是什么
SkeletonRowColObj 新增 borderRadio 属性
The text was updated successfully, but these errors were encountered: