-
Notifications
You must be signed in to change notification settings - Fork 5
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
新增Toast和Dialog组件 #15
base: main
Are you sure you want to change the base?
新增Toast和Dialog组件 #15
Conversation
|
packages/bui-core/src/Input/index.md
Outdated
@@ -181,7 +181,7 @@ export default () => { | |||
<br /> | |||
<Button onClick={multiplyTwo}>数量乘2(通过DOM操作value有效)</Button> | |||
<br /> | |||
<Input inputRef={reduceRef} defaultValue={defaultValue} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Input的两处改动应还原
/** | ||
* 自定义内容 | ||
*/ | ||
desc?: Render; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
命名保持统一:description
/** | ||
* 是否显示 | ||
*/ | ||
visible?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
扩展了ModalProps,可以直接使用open,不需要再新增一个visible
/** | ||
* 内部<input>标签的标准属性 | ||
*/ | ||
inputProps?: React.InputHTMLAttributes<HTMLInputElement>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
React not defined
这个 PR 做了什么?
新增Toast和Dialog组件,扩展弹层相关组件
这个变动的性质是?
这个变动涉及以下渠道:
附加信息(可选)
无