mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 23:11:43 +01:00
chore: use get in useUI
This commit is contained in:
@@ -124,7 +124,7 @@ export default defineComponent({
|
||||
}
|
||||
},
|
||||
setup (props, { slots }) {
|
||||
const { ui, attrs, attrsClass } = useUI('button', props.ui, config)
|
||||
const { ui, attrs, attrsClass } = useUI('ui.button', props.ui, config)
|
||||
|
||||
const isLeading = computed(() => {
|
||||
return (props.icon && props.leading) || (props.icon && !props.trailing) || (props.loading && !props.trailing) || props.leadingIcon
|
||||
|
||||
Reference in New Issue
Block a user