@iobroker/adapter-react
Version:
React classes to develop admin interfaces for ioBroker with react.
22 lines (21 loc) • 802 B
TypeScript
export function getSystemIcon(obj: any): JSX.Element;
export function getSelectIdIcon(obj: any, imagePrefix: any): string;
export default Icon;
declare class Icon extends React.Component<any, any, any> {
constructor(props: any);
constructor(props: any, context: any);
render(): any;
}
declare namespace Icon {
namespace propTypes {
const color: PropTypes.Requireable<string>;
const title: PropTypes.Requireable<string>;
const src: PropTypes.Validator<string | object>;
const className: PropTypes.Requireable<string>;
const imagePrefix: PropTypes.Requireable<string>;
const style: PropTypes.Requireable<object>;
const styleUTF8: PropTypes.Requireable<object>;
}
}
import React from "react";
import PropTypes from "prop-types";