mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 21:27:54 +01:00
chore(App): typo in slots interface
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user