UNPKG

@iobroker/adapter-react

Version:

React classes to develop admin interfaces for ioBroker with react.

48 lines (47 loc) 1.4 kB
export default _export; export type TabContainerProps = { /** * The key to identify this component. */ key?: string; /** * The elevation of the tab container. */ elevation?: number; /** * Set to 'visible' show the overflow. */ overflow?: string; /** * The styling class names. */ classes: { root: string; overflowHidden: string; container: string; }; }; /** @type {typeof TabContainer} */ declare const _export: typeof TabContainer; /** * @typedef {object} TabContainerProps * @property {string} [key] The key to identify this component. * @property {number} [elevation] The elevation of the tab container. * @property {string} [overflow] Set to 'visible' show the overflow. * @property {{ [key in keyof styles]: string}} classes The styling class names. * * @extends {React.Component<TabContainerProps>} */ declare class TabContainer extends React.Component<TabContainerProps, any, any> { constructor(props: TabContainerProps | Readonly<TabContainerProps>); constructor(props: TabContainerProps, context: any); render(): JSX.Element; } declare namespace TabContainer { namespace propTypes { const elevation: PropTypes.Requireable<number>; const overflow: PropTypes.Requireable<string>; } } import React from "react"; import PropTypes from "prop-types";