fix: rename the Icon component to IconifyIcon to prevent name conflicts and fix type issues (#4704)
This commit is contained in:
@@ -68,7 +68,7 @@ async function initComponentAdapter() {
|
||||
DatePicker: NDatePicker,
|
||||
// 自定义默认按钮
|
||||
DefaultButton: (props, { attrs, slots }) => {
|
||||
return h(NButton, { ...props, attrs, type: 'info' }, slots);
|
||||
return h(NButton, { ...props, attrs, type: 'default' }, slots);
|
||||
},
|
||||
// 自定义主要按钮
|
||||
PrimaryButton: (props, { attrs, slots }) => {
|
||||
|
Reference in New Issue
Block a user