@iobroker/adapter-react-v5
Version:
React components to develop ioBroker interfaces with react.
21 lines (20 loc) • 726 B
TypeScript
import React from 'react';
import { Types } from '@iobroker/type-detector';
import type { ThemeType } from '../../types';
export declare function DeviceTypeSelector(props: {
themeType: ThemeType;
supportedDevices?: Types[];
unsupportedDevices?: Types[];
value?: Types | '';
onChange: (value: Types) => void;
label?: string;
style?: React.CSSProperties;
sx?: Record<string, any>;
disabled?: boolean;
error?: boolean;
/** Show icons for applications: google, amazon, material, alias. Used in devices */
showApplications?: {
TYPE_OPTIONS: Partial<Record<Types, Record<string, boolean>>>;
ICONS_TYPE: Record<string, React.JSX.Element>;
};
}): React.JSX.Element;