@nuxt/ui
Version:
A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
34 lines (33 loc) • 1.24 kB
text/typescript
import type { AppConfig } from '@nuxt/schema';
import theme from '#build/ui/field-group';
import type { ComponentConfig } from '../types/tv';
type FieldGroup = ComponentConfig<typeof theme, AppConfig, 'fieldGroup'>;
export interface FieldGroupProps {
/**
* The element or component this component should render as.
* @defaultValue 'div'
*/
as?: any;
/**
* @defaultValue 'md'
*/
size?: FieldGroup['variants']['size'];
/**
* The orientation the buttons are laid out.
* @defaultValue 'horizontal'
*/
orientation?: FieldGroup['variants']['orientation'];
class?: any;
ui?: FieldGroup['slots'];
}
export interface FieldGroupSlots {
default(props?: {}): any;
}
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<FieldGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, FieldGroupSlots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};