UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

41 lines (40 loc) 1.8 kB
import { BoxProps, CompoundStylesApiProps, PolymorphicFactory } from '../../../core'; export type AppShellSectionStylesNames = 'section'; export interface AppShellSectionProps extends BoxProps, CompoundStylesApiProps<AppShellSectionFactory> { /** Determines whether the section should take all available space, `false` by default */ grow?: boolean; } export type AppShellSectionFactory = PolymorphicFactory<{ props: AppShellSectionProps; defaultRef: HTMLDivElement; defaultComponent: 'div'; stylesNames: AppShellSectionStylesNames; compound: true; }>; export declare const AppShellSection: (<C = "div">(props: import("../../../core").PolymorphicComponentProps<C, AppShellSectionProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(AppShellSectionProps & { component?: any; } & Omit<Omit<any, "ref">, "component" | keyof AppShellSectionProps> & { ref?: any; renderRoot?: (props: any) => any; }) | (AppShellSectionProps & { component: React.ElementType; renderRoot?: (props: Record<string, any>) => any; })>, never> & import("../../../core/factory/factory").ThemeExtend<{ props: AppShellSectionProps; defaultRef: HTMLDivElement; defaultComponent: "div"; stylesNames: AppShellSectionStylesNames; compound: true; }> & import("../../../core/factory/factory").ComponentClasses<{ props: AppShellSectionProps; defaultRef: HTMLDivElement; defaultComponent: "div"; stylesNames: AppShellSectionStylesNames; compound: true; }> & import("../../../core/factory/polymorphic-factory").PolymorphicComponentWithProps<{ props: AppShellSectionProps; defaultRef: HTMLDivElement; defaultComponent: "div"; stylesNames: AppShellSectionStylesNames; compound: true; }> & Record<string, never>;