UNPKG

@eccenca/gui-elements

Version:

GUI elements based on other libraries, usable in React application, written in Typescript.

22 lines (21 loc) 650 B
import React from "react"; export interface TabPanelProps extends React.HTMLAttributes<HTMLDivElement> { /** * Addicional CSS class name. */ className?: string; /** * `id` of the tab element that is connected to this panel content. */ labelledBy?: string; /** * Tab panel is not displayed. */ hidden?: boolean; } /** * Element to display the content related to a tab. * This could be used if `<Tabs />` is used in uncontrolled mode. */ export declare const TabPanel: ({ children, className, labelledBy, hidden, ...otherDivProps }: TabPanelProps) => React.JSX.Element; export default TabPanel;