UNPKG

@nuxt/ui

Version:

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.

38 lines (37 loc) 1.39 kB
import type { AppConfig } from '@nuxt/schema'; import theme from '#build/ui/page-header'; import type { ButtonProps } from '../types'; import type { ComponentConfig } from '../types/tv'; type PageHeader = ComponentConfig<typeof theme, AppConfig, 'pageHeader'>; export interface PageHeaderProps { /** * The element or component this component should render as. * @defaultValue 'div' */ as?: any; headline?: string; title?: string; description?: string; /** * Display a list of Button next to the title. * `{ color: 'neutral', variant: 'outline' }`{lang="ts-type"} */ links?: ButtonProps[]; class?: any; ui?: PageHeader['slots']; } export interface PageHeaderSlots { headline(props?: {}): any; title(props?: {}): any; description(props?: {}): any; links(props?: {}): any; default(props?: {}): any; } declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PageHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PageHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PageHeaderSlots>; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };