mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: @cordisjs/core instead of cordis
This commit is contained in:
6 files changed
+12
-14
No files matched your search
@@ -20,8 +20,8 @@ ToolbarComponent.propTypes = {
|
||||
|
||||
export function ToolbarButtonComponent(props) {
|
||||
const {
|
||||
activated,
|
||||
disabled,
|
||||
activated = false,
|
||||
disabled = false,
|
||||
onClick,
|
||||
className,
|
||||
children,
|
||||
@@ -52,11 +52,6 @@ ToolbarButtonComponent.propTypes = {
|
||||
children: PropTypes.node,
|
||||
};
|
||||
|
||||
ToolbarButtonComponent.defaultProps = {
|
||||
activated: false,
|
||||
disabled: false,
|
||||
};
|
||||
|
||||
export function ToolbarSplitComponent(props) {
|
||||
const {
|
||||
className,
|
||||
|
||||
Reference in new issue
Block a user