refactor: rename renderTopRight prop to renderTopRightUI (#3572)

* refactor: rename renderTopRight prop to renderTopRightUI

* update

* fix

* update
This commit is contained in:
Aakansha Doshi 2021-05-13 21:02:59 +05:30 committed by GitHub
parent bec34f2d57
commit 3b9290831a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 13 deletions

View file

@ -304,7 +304,7 @@ const ExcalidrawWrapper = () => {
}
};
const renderTopRight = useCallback(
const renderTopRightUI = useCallback(
(isMobile: boolean, appState: AppState) => {
return (
<div
@ -399,7 +399,7 @@ const ExcalidrawWrapper = () => {
isCollaborating={collabAPI?.isCollaborating()}
onPointerUpdate={collabAPI?.onPointerUpdate}
onExportToBackend={onExportToBackend}
renderTopRight={renderTopRight}
renderTopRightUI={renderTopRightUI}
renderFooter={renderFooter}
langCode={langCode}
renderCustomStats={renderCustomStats}