@nuxt/ui
Version:
A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
27 lines (26 loc) • 997 B
TypeScript
import type { AppConfig } from '@nuxt/schema';
import theme from '#build/ui/page';
import type { ComponentConfig } from '../types/tv';
type Page = ComponentConfig<typeof theme, AppConfig, 'page'>;
export interface PageProps {
/**
* The element or component this component should render as.
* @defaultValue 'div'
*/
as?: any;
class?: any;
ui?: Page['slots'];
}
export interface PageSlots {
left(props?: {}): any;
default(props?: {}): any;
right(props?: {}): any;
}
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PageSlots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};