mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
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:
parent
6eecadce60
commit
0f0244224d
5 changed files with 123 additions and 21 deletions
|
@ -468,6 +468,7 @@ const LayerUI = ({
|
|||
</Section>
|
||||
);
|
||||
};
|
||||
|
||||
const renderCanvasActions = () => (
|
||||
<Section
|
||||
heading="canvasActions"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue