mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
chore: upgrade to React 18 (#5450)
* chore: upgrade to React 18 * better type * use React.FC to fix type Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
958ebeae61
commit
15d79f8fee
11 changed files with 76 additions and 51 deletions
|
@ -308,7 +308,7 @@ const LayerUI = ({
|
|||
</Stack.Col>
|
||||
{!appState.viewModeEnabled && (
|
||||
<Section heading="shapes">
|
||||
{(heading) => (
|
||||
{(heading: React.ReactNode) => (
|
||||
<Stack.Col gap={4} align="start">
|
||||
<Stack.Row
|
||||
gap={1}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue