e6de1fe4a4
* feat: rewrite public UI component rendering using tunnels * factor out into components * comments * fix variable naming * fix not hiding welcomeScreen * factor out AppFooter and memoize components * remove `UIOptions.welcomeScreen` and render only from host app * factor out tunnels into own file * update changelog. Keep `UIOptions.welcomeScreen` as deprecated * update changelog * lint --------- Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
22 lines
494 B
TypeScript
22 lines
494 B
TypeScript
import React from "react";
|
|
import { Footer } from "../../packages/excalidraw/index";
|
|
import { EncryptedIcon } from "./EncryptedIcon";
|
|
import { ExcalidrawPlusAppLink } from "./ExcalidrawPlusAppLink";
|
|
|
|
export const AppFooter = React.memo(() => {
|
|
return (
|
|
<Footer>
|
|
<div
|
|
style={{
|
|
display: "flex",
|
|
gap: ".5rem",
|
|
alignItems: "center",
|
|
}}
|
|
>
|
|
<ExcalidrawPlusAppLink />
|
|
<EncryptedIcon />
|
|
</div>
|
|
</Footer>
|
|
);
|
|
});
|