feat: support renderTopRightUI in mobile (#4065)

This commit is contained in:
Aakansha Doshi
2021-10-17 21:44:46 +05:30
committed by GitHub
parent ff29780760
commit c6ffc06541
5 changed files with 21 additions and 3 deletions

View File

@ -307,6 +307,9 @@ const ExcalidrawWrapper = () => {
const renderTopRightUI = useCallback(
(isMobile: boolean, appState: AppState) => {
if (isMobile) {
return null;
}
return (
<div
style={{