Skip to content
New issue

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

SwitchButton borderColor 属性设置无效果 #201

Open
Moss-Lee opened this issue Apr 30, 2024 · 1 comment
Open

SwitchButton borderColor 属性设置无效果 #201

Moss-Lee opened this issue Apr 30, 2024 · 1 comment

Comments

@Moss-Lee
Copy link

Moss-Lee commented Apr 30, 2024

组件

组件名称
SwitchButton

版本

  • 组件版本:
  • 4.7.8
  • react 版本:
  • 16.8.3
  • react-native 版本:
  • 0.59.10

概述

SwitchButton borderColor 属性设置无效果
Bug 问题概述
SwitchButton borderColor 属性设置无效果

重现步骤

const [value2, setValue2] = React.useState(false);
SwitchButton value={value1} onValueChange={v => setValue1(v)} style={{ marginRight: 14 }} borderColor={'#000'}/>

Bug 行为

Bug 的表现行为
在value1为false 没有边框和颜色

期望行为

组件的正确行为
展示颜色为#000

期望发布日期

期望 bug 解决后发布的正式版本号或日期

附件

附上图片或日志

@Moss-Lee
Copy link
Author

企业微信截图_1731653583801
缺少了borderWidth属性

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant