chore(App): typo in slots interface

This commit is contained in:
Benjamin Canac
2024-09-04 10:21:09 +02:00
parent b3de942696
commit 54814a2562

View File

@@ -7,7 +7,7 @@ export interface AppProps extends ConfigProviderProps {
toaster?: ToasterProps | null toaster?: ToasterProps | null
} }
export interface AppSlors { export interface AppSlots {
default(props?: {}): any default(props?: {}): any
} }
</script> </script>
@@ -24,7 +24,7 @@ import USlideoverProvider from './SlideoverProvider.vue'
const props = withDefaults(defineProps<AppProps>(), { const props = withDefaults(defineProps<AppProps>(), {
useId: () => useId() useId: () => useId()
}) })
defineSlots<AppSlors>() defineSlots<AppSlots>()
const configProviderProps = useForwardProps(reactivePick(props, 'dir', 'scrollBody', 'useId')) const configProviderProps = useForwardProps(reactivePick(props, 'dir', 'scrollBody', 'useId'))
const tooltipProps = toRef(() => props.tooltip) const tooltipProps = toRef(() => props.tooltip)