chore(Avatar)!: remove chipVariant prop

This commit is contained in:
Benjamin Canac
2023-05-26 18:02:48 +02:00
parent 2c6db975f9
commit 1f22f84360
3 changed files with 3 additions and 14 deletions

View File

@@ -18,15 +18,13 @@ const avatar = {
},
chip: {
base: 'absolute block rounded-full ring-1 ring-white dark:ring-gray-900',
background: 'bg-{color}-400',
position: {
'top-right': 'top-0 right-0',
'bottom-right': 'bottom-0 right-0',
'top-left': 'top-0 left-0',
'bottom-left': 'bottom-0 left-0'
},
variant: {
solid: 'bg-{color}-400'
},
size: {
'3xs': 'h-1 w-1',
'2xs': 'h-1 w-1',
@@ -42,7 +40,6 @@ const avatar = {
default: {
size: 'sm',
chipColor: null,
chipVariant: 'solid',
chipPosition: 'top-right'
}
}