mirror of https://github.com/msgbyte/tailchat
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.
20 lines
486 B
TypeScript
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/"
|
|
/>
|
|
),
|
|
});
|