mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 07:50:36 +01:00
chore(Button): remove truncate prop to always use on label
This commit is contained in:
@@ -4,7 +4,7 @@ import { buttonGroupVariant } from './button-group'
|
||||
export default (options: Required<ModuleOptions>) => ({
|
||||
slots: {
|
||||
base: ['rounded-md font-medium inline-flex items-center focus:outline-none disabled:cursor-not-allowed disabled:opacity-75', options.transitions && 'transition-colors'],
|
||||
label: '',
|
||||
label: 'truncate',
|
||||
leadingIcon: 'shrink-0',
|
||||
leadingAvatar: 'shrink-0',
|
||||
trailingIcon: 'shrink-0'
|
||||
@@ -52,11 +52,6 @@ export default (options: Required<ModuleOptions>) => ({
|
||||
trailingIcon: 'size-6'
|
||||
}
|
||||
},
|
||||
truncate: {
|
||||
true: {
|
||||
label: 'truncate'
|
||||
}
|
||||
},
|
||||
block: {
|
||||
true: {
|
||||
base: 'w-full',
|
||||
|
||||
Reference in New Issue
Block a user