Skip to content

Commit

Permalink
Update 269.组件注册与画布渲染.md
Browse files Browse the repository at this point in the history
修复代码示例错误
  • Loading branch information
yanghuanrong authored Apr 27, 2024
1 parent 50398c6 commit 9855baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 可视化搭建/269.组件注册与画布渲染.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const divMeta = {
componentName: "div",
runtimeProps: () => ({
onClick: () => { console.log('click') }
})
}),
element: ({ onClick }) => (
<button onClick={onClick}>
点击我
Expand Down

0 comments on commit 9855baf

Please sign in to comment.