@eccenca/gui-elements
Version:
GUI elements based on other libraries, usable in React application, written in Typescript.
26 lines (25 loc) • 889 B
TypeScript
import React from "react";
export interface ApplicationContentProps {
/**
Literally the application content displayed in the main area
*/
children: React.ReactNode;
/**
addional class name
*/
className?: string;
/**
is the sidebar navigation currently displayed or not
*/
isApplicationSidebarExpanded?: boolean;
/**
is the rail version of the sidebar used or not
*/
isApplicationSidebarRail?: boolean;
/**
native attributes for the <main> HTML element, except `className`
*/
htmlMainProps?: Omit<React.HTMLAttributes<HTMLElement>, "className">;
}
export declare const ApplicationContent: ({ children, className, isApplicationSidebarExpanded, isApplicationSidebarRail, htmlMainProps, ...otherUnknownProps }: ApplicationContentProps) => React.JSX.Element;
export default ApplicationContent;