UNPKG

@iobroker/adapter-react

Version:

React classes to develop admin interfaces for ioBroker with react.

47 lines (46 loc) 1.19 kB
export default _export; export type LoaderProps = { /** * The key to identify this component. */ key?: string; /** * The size in pixels of this loader. */ size?: number; /** * The chosen theme type. */ themeType?: string; /** * The chosen theme. */ theme?: string; }; /** @type {typeof LoaderVendor} */ declare const _export: typeof LoaderVendor; /** * @typedef {object} LoaderProps * @property {string} [key] The key to identify this component. * @property {number} [size] The size in pixels of this loader. * @property {string} [themeType] The chosen theme type. * @property {string} [theme] The chosen theme. * * @extends {React.Component<LoaderProps>} */ declare class LoaderVendor extends React.Component<LoaderProps, any, any> { /** * @param {LoaderProps} props */ constructor(props: LoaderProps); size: number; render(): JSX.Element; } declare namespace LoaderVendor { namespace propTypes { const size: PropTypes.Requireable<number>; const themeType: PropTypes.Requireable<string>; } } import React from "react"; import PropTypes from "prop-types";