@sikka/hawa
Version:
Modern UI Kit made with Tailwind
38 lines (35 loc) • 1.21 kB
TypeScript
import React__default from 'react';
import { D as DirectionType } from '../commonTypes-TGqbHlp_.js';
type AppLayoutTypes = {
pages?: any[];
/** The direction of the layout */
direction?: DirectionType;
/** Specifies the title of the page. */
pageTitle?: string;
/** Specifies the symbol for the logo. */
logoSymbol?: any;
/** Specifies the link for the logo. */
logoLink?: string;
/** Specifies the content to be displayed in the layout. */
children?: any;
/** Specifies the image for the avatar. */
avatarImage?: any;
/**
* Specifies the size of the drawer.
* - 'sm': Small.
* - 'md': Medium.
* - 'large': Large.
*/
drawerSize?: "sm" | "md" | "large";
/** Specifies whether to keep the drawer open. */
keepOpen: boolean;
setKeepOpen: (value: boolean) => void;
/** Specifies additional actions for the drawer footer. */
DrawerFooterActions?: any;
/** Specifies the item that was clicked. */
clickedItem?: any;
/** Event handler for logo button click. */
onLogoClick?: () => void;
};
declare const DocsLayout: React__default.FunctionComponent<AppLayoutTypes>;
export { DocsLayout };