mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 22:41:42 +01:00
fix(Container): missing slots definition
This commit is contained in:
@@ -12,12 +12,17 @@ const container = tv({ extend: tv(theme), ...(appConfig.ui?.container || {}) })
|
||||
export interface ContainerProps extends Omit<PrimitiveProps, 'asChild'> {
|
||||
class?: any
|
||||
}
|
||||
|
||||
export interface ContainerSlots {
|
||||
default(): any
|
||||
}
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { Primitive } from 'radix-vue'
|
||||
|
||||
const props = withDefaults(defineProps<ContainerProps>(), { as: 'div' })
|
||||
defineSlots<ContainerSlots>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user