@nuxt/ui-pro
Version:
Ship beautiful web applications at the speed of light with Nuxt UI Pro.
36 lines (35 loc) • 1.32 kB
TypeScript
import type { AppConfig } from '@nuxt/schema';
import type { ButtonProps, ComponentConfig } from '@nuxt/ui';
import theme from '#build/ui-pro/page-header';
type PageHeader = ComponentConfig<typeof theme, AppConfig, 'pageHeader', 'uiPro'>;
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 _default: __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>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};