@iobroker/adapter-react
Version:
React classes to develop admin interfaces for ioBroker with react.
38 lines (37 loc) • 1.04 kB
TypeScript
export default _export;
export type TabContentProps = {
/**
* The key to identify this component.
*/
key?: string;
overflow?: string;
/**
* The styling class names.
*/
classes: {
root: string;
overflowAuto: string;
};
};
/** @type {typeof TabContent} */
declare const _export: typeof TabContent;
/**
* @typedef {object} TabContentProps
* @property {string} [key] The key to identify this component.
* @property {string} [overflow]
* @property {{ [key in keyof styles]: string}} classes The styling class names.
*
* @extends {React.Component<TabContentProps>}
*/
declare class TabContent extends React.Component<TabContentProps, any, any> {
constructor(props: TabContentProps | Readonly<TabContentProps>);
constructor(props: TabContentProps, context: any);
render(): JSX.Element;
}
declare namespace TabContent {
namespace propTypes {
const overflow: PropTypes.Requireable<string>;
}
}
import React from "react";
import PropTypes from "prop-types";