@sabrenski/spire-ui-vue 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,9 @@
1
+ import { Component } from 'vue';
2
+ type AsValue = 'a' | 'button' | 'router-link' | 'inertia-link' | Component;
3
+ /**
4
+ * Composable that resolves string aliases like 'inertia-link' and 'router-link'
5
+ * to their actual Vue components. Falls back to the specified fallback element
6
+ * if the component cannot be loaded.
7
+ */
8
+ export declare function useComponentAs(as: () => AsValue | undefined, fallback?: string): import('vue').ComputedRef<any>;
9
+ export {};