feat: Use dialog component for clear canvas instead of window confirm (#4075)

* feat: Use dialog component for clear canvas instead of window confirm

* reduce font weight

* fix specs

* update button name and use action

* export clearCanvas from actions
This commit is contained in:
Aakansha Doshi 2021-10-21 17:35:28 +05:30 committed by GitHub
parent 6eecadce60
commit 0f0244224d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 123 additions and 21 deletions

View file

@ -468,6 +468,7 @@ const LayerUI = ({
</Section>
);
};
const renderCanvasActions = () => (
<Section
heading="canvasActions"