You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/client/web/plugins/com.msgbyte.env.electron/src/index.tsx

16 lines
401 B
TypeScript

import { regCustomPanel } from '@capital/common';
import { DeviceInfoPanel } from './DeviceInfoPanel';
import { Translate } from './translate';
const PLUGIN_NAME = 'Electron Support';
console.log(`Plugin ${PLUGIN_NAME} is loaded`);
regCustomPanel({
position: 'setting',
icon: '',
name: 'com.msgbyte.env.electron/deviceInfoPanel',
label: Translate.deviceInfo,
render: DeviceInfoPanel,
});