@indielayer/ui
Version:
Indielayer UI Components with Tailwind CSS build for Vue 3
17 lines (16 loc) • 583 B
TypeScript
import type { App, InjectionKey, MaybeRef } from 'vue';
import { type UITheme } from './theme';
import type { IconInjection } from './components/icon/Icon.vue';
export type UIOptions = {
prefix?: string;
components?: any[];
icons?: Record<string, any>;
theme?: UITheme;
injectIconsKey?: InjectionKey<IconInjection>;
injectOptionsKey?: InjectionKey<UIOptions>;
injectThemeKey?: InjectionKey<MaybeRef<UITheme>>;
};
declare const create: (createOptions?: UIOptions) => {
install: (app: App, installOptions?: UIOptions) => void;
};
export default create;