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.snapdrop/src/index.tsx

20 lines
486 B
TypeScript

import { regCustomPanel } from '@capital/common';
import { WebviewKeepAlive } from '@capital/component';
import React from 'react';
import { Translate } from './translate';
const PLUGIN_NAME = 'com.msgbyte.snapdrop';
regCustomPanel({
name: `${PLUGIN_NAME}/personPanel`,
position: 'personal',
label: Translate.panelName,
icon: 'mdi:radio-tower',
render: () => (
<WebviewKeepAlive
className="w-full h-full bg-white"
url="https://snapdrop.net/"
/>
),
});