UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

24 lines (23 loc) 894 B
import React from 'react'; 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; }>;