@bitrix24/b24ui-nuxt
Version:
Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE
45 lines (44 loc) • 1.48 kB
TypeScript
import type { AppConfig } from '@nuxt/schema';
import theme from '#build/b24ui/stacked-layout';
import type { ComponentConfig } from '../types/utils';
type StackedLayout = ComponentConfig<typeof theme, AppConfig, 'stackedLayout'>;
export interface StackedLayoutProps {
/**
* The element or component this component should render as.
* @defaultValue 'div'
*/
as?: any;
useLightContent?: boolean;
class?: any;
b24ui?: StackedLayout['slots'];
}
export interface StackedLayoutSlots {
/**
* Menu for mobile screen sizes.
* @param props
* @param props.handleClick - Handler for navigation click events
*/
'sidebar'(props: {
handleClick: () => void;
}): any;
/**
* Menu for desktop screen sizes.
*/
'navbar'(props?: {}): any;
/**
* The page content.
*/
'default'(props?: {}): any;
'content-top': (props?: {}) => any;
'content-bottom': (props?: {}) => any;
}
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<StackedLayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackedLayoutProps> & Readonly<{}>, {
as: any;
useLightContent: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, StackedLayoutSlots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};