declare module '@salesforce/design-system-react/components/tabs/private/tab-panel' {
import React from 'react';
type Props = {
/**
* The `children` are the contents of the tab panel.
*
* Note that the structure of the `` component **does not** correspond to the DOM structure that is rendered. The `` component requires one or more children of type ``, which themselves require a `label` property which will be what shows in the `` and has `children`, which end up being the _contents of the tab's corresponding panel_.
*
* The component iterates through each `` and rendering one `` and one `` for each of them. The tab(s) end up being children of the ``.
*
* The tab panel component actually returns the _children_ of the _children_ which were provided by the `` component.
*
* Due to React's nature, the `` component wraps its children in a `div` element which we don't need nor want in our rendered DOM structure, so we just bypass it and get its kids via `{children.props.children}` in the render method below.
* ```
*
*
*
This is my tab 1 contents!
*
They show when you click the first tab.
*
*
*
This is my tab 2 contents!
*
They show when you click the second tab.
*
*
* ```
*/
children?: any[] | Record | string;
/**
* CSS classes to be added to the tab panel.
*/
className?: string;
/**
* The HTML ID of this tab panel. Also used by the ``that controls it as `panelId`.
*/
id?: string;
/**
* Whether this panel is hidden or shown. Uses the `.slds-show` and `.slds-hide` classes.
*/
selected?: boolean;
/**
* If the Tabs should be scopped, defaults to false
*/
variant?: 'default' | 'scoped';
/**
* The HTML ID of the `` that controls this panel.
*/
tabId?: string;
};
function Component(props: Props): JSX.Element;
export default Component;
}