Skip to content

Commit

Permalink
Update PlaceholderNode.tsx
Browse files Browse the repository at this point in the history
Add support for react 18.2 types
  • Loading branch information
KasperBaun authored Apr 30, 2024
1 parent 90d7322 commit 543b95f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nodes/src/Placeholder/PlaceholderNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Placeholder } from "./Placeholder";

type PlaceholderNodeProps = {
content: string;
children?: React.ReactNode
}
export const PlaceholderNode: UserComponent<PlaceholderNodeProps> = ({content, children}) => {

Expand Down Expand Up @@ -36,4 +37,4 @@ PlaceholderNode.craft = {
related: {
toolbar: GridNodeLayoutSelector,
},
};
};

0 comments on commit 543b95f

Please sign in to comment.