mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-15 04:29:37 +01:00
fix(Chip): extend now works with compound variants
This commit is contained in:
@@ -35,9 +35,7 @@ const show = defineModel<boolean>('show', { default: true })
|
||||
const props = withDefaults(defineProps<ChipProps>(), { as: 'div' })
|
||||
defineSlots<ChipSlots>()
|
||||
|
||||
// FIXME: Cannot extend multiple times: https://github.com/nextui-org/tailwind-variants/issues/168
|
||||
// const ui = computed(() => tv({ extend: chip, slots: props.ui })({
|
||||
const ui = computed(() => chip({
|
||||
const ui = computed(() => tv({ extend: chip, slots: props.ui })({
|
||||
color: props.color,
|
||||
size: props.size,
|
||||
position: props.position,
|
||||
|
||||
Reference in New Issue
Block a user