import { ComponentPropsWithoutRef, ElementType, ReactNode, Ref } from 'react'; interface TabPanelOwnProps { /** Panel content, shown when this panel's `value` is the selected tab. */ children?: ReactNode; /** Extra classes for the panel root. */ className?: string; /** The tab `value` this panel belongs to. */ value: string; /** * Keep the panel in the DOM (just `hidden`) while inactive instead of unmounting it. * * Preserves scroll position and internal state. Default `false`. */ keepMounted?: boolean; /** Polymorphic root element. Defaults to `'div'`. */ as?: C; /** Forwarded to the polymorphic root element. */ ref?: Ref; } export type TabPanelProps = TabPanelOwnProps & Omit, keyof TabPanelOwnProps>; /** Shape of `TabPanel` defaults that can be supplied via `CladdProvider`'s `defaults` prop. */ export type TabPanelDefaultProps = Partial>; /** * The content area for a tab. Renders a single unstyled element carrying the * `tabpanel` role and the aria wiring back to its `Tab`; all extra props pass * through to it so it can be styled. Mounts its children only when its `value` * is selected (or always, when `keepMounted`). */ export declare const TabPanel: (props: TabPanelProps) => import("react/jsx-runtime").JSX.Element | null; export {}; //# sourceMappingURL=TabPanel.d.ts.map