You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
bug 描述
封装Button组件时使用了展开运算符,
<RMButton {...props} />
测试了一部分属性, 比如className, plain等都是正常的, 但size属性无效
复现步骤
运行复现代码后, 查看开发者工具中的Button, 是
<button aria-disabled="false" hover-start-time="0" hover-stay-time="0" type="primary" role="button">
, 并没有size.plain也未显示于开发者工具中, 但实际上生效了, 不知道为什么开发者工具上不显示.
期望结果
使size能够正常传播
复现代码
components/Button/index.tsx
pages/index/index.tsx
版本信息:
其他信息
![Lark20191118180919](https://user-images.githubusercontent.com/9160743/69043813-b6363280-0a2e-11ea-9c83-9b75826f6e29.png)
The text was updated successfully, but these errors were encountered: