UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

35 lines (34 loc) 1.7 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>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & Omit<import("react").FunctionComponent<(AppShellSectionProps & { component?: any; } & Omit<Omit<any, "ref">, "component" | keyof AppShellSectionProps> & { ref?: any; renderRoot?: ((props: any) => any) | undefined; }) | (AppShellSectionProps & { component: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>; renderRoot?: ((props: Record<string, any>) => any) | undefined; })>, 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; }> & Record<string, never>;