|
|
@ -66,8 +66,8 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => {
|
|
|
|
|
|
|
|
|
|
|
|
export default definePlugin((serverApi: ServerAPI) => {
|
|
|
|
export default definePlugin((serverApi: ServerAPI) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
title: () => <div className={staticClasses.Title}>Example Plugin</div>,
|
|
|
|
title: <div className={staticClasses.Title}>Example Plugin</div>,
|
|
|
|
content: () => <Content serverAPI={serverApi} />,
|
|
|
|
content: <Content serverAPI={serverApi} />,
|
|
|
|
icon: () => <FaShip />,
|
|
|
|
icon: <FaShip />,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
});
|
|
|
|
});
|
|
|
|