2024-06-15 00:55:43 +03:00

43 lines
1.2 KiB
TypeScript

import * as _nextui_org_system from '@nextui-org/system';
import { HTMLNextUIProps } from '@nextui-org/system';
import { AriaTabPanelProps } from '@react-aria/tabs';
import { Key } from '@react-types/shared';
import { ValuesType } from './use-tabs.js';
import '@nextui-org/theme';
import '@nextui-org/react-utils';
import 'react';
import '@react-stately/tabs';
import '@nextui-org/aria-utils';
import 'framer-motion';
interface Props extends HTMLNextUIProps<"div"> {
/**
* Whether to destroy inactive tab panel when switching tabs.
* Inactive tab panels are inert and cannot be interacted with.
*/
destroyInactiveTabPanel: boolean;
/**
* The current tab key.
*/
tabKey: Key;
/**
* The tab list state.
*/
state: ValuesType["state"];
/**
* Component slots classes
*/
slots: ValuesType["slots"];
/**
* User custom classnames
*/
classNames?: ValuesType["classNames"];
}
type TabPanelProps = Props & AriaTabPanelProps;
/**
* @internal
*/
declare const TabPanel: _nextui_org_system.InternalForwardRefRenderFunction<"div", TabPanelProps, never>;
export { TabPanelProps, TabPanel as default };