@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
23 lines (22 loc) • 867 B
TypeScript
import { BoxProps, CompoundStylesApiProps, ElementProps, Factory } from '../../../core';
export type TabsPanelStylesNames = 'panel';
export interface TabsPanelProps extends BoxProps, CompoundStylesApiProps<TabsPanelFactory>, ElementProps<'div'> {
/** Panel content */
children: React.ReactNode;
/** If set to `true`, the content will be kept mounted, even if `keepMounted` is set `false` in the parent `Tabs` component */
keepMounted?: boolean;
/** Value of associated control */
value: string;
}
export type TabsPanelFactory = Factory<{
props: TabsPanelProps;
ref: HTMLDivElement;
stylesNames: TabsPanelStylesNames;
compound: true;
}>;
export declare const TabsPanel: import("../../../core").MantineComponent<{
props: TabsPanelProps;
ref: HTMLDivElement;
stylesNames: TabsPanelStylesNames;
compound: true;
}>;