mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 07:21:46 +01:00
chore(Button): remove truncate prop to always use on label
This commit is contained in:
@@ -19,7 +19,6 @@ export interface ButtonProps extends UseComponentIconsProps, Omit<LinkProps, 'cu
|
||||
size?: ButtonVariants['size']
|
||||
square?: boolean
|
||||
block?: boolean
|
||||
truncate?: boolean
|
||||
class?: any
|
||||
ui?: Partial<typeof button.slots>
|
||||
}
|
||||
@@ -51,7 +50,6 @@ const ui = computed(() => tv({ extend: button, slots: props.ui })({
|
||||
variant: props.variant,
|
||||
size: buttonSize.value,
|
||||
loading: props.loading,
|
||||
truncate: props.truncate,
|
||||
block: props.block,
|
||||
square: props.square || (!slots.default && !props.label),
|
||||
leading: isLeading.value,
|
||||
|
||||
Reference in New Issue
Block a user