@eslamdevui/ui
Version:
A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
31 lines (30 loc) • 1.11 kB
TypeScript
import theme from '#build/ui/prose/code-tree';
import type { AppConfig } from '@nuxt/schema';
import type { ComponentConfig } from '../../types';
type ProseCodeTree = ComponentConfig<typeof theme, AppConfig, 'codeTree', 'ui.prose'>;
export interface ProseCodeTreeProps {
/**
* The default path to select.
* @example 'package.json'
*/
defaultValue?: string;
/**
* Expand all directories by default.
* @defaultValue false
*/
expandAll?: boolean;
class?: any;
ui?: ProseCodeTree['slots'];
}
export interface ProseCodeTreeSlots {
default(props?: {}): any;
}
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ProseCodeTreeProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProseCodeTreeProps> & Readonly<{}>, {
expandAll: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProseCodeTreeSlots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};