Skip to content

Commit

Permalink
Merge pull request #514 from yanghuanrong/master
Browse files Browse the repository at this point in the history
Update 269.组件注册与画布渲染.md
  • Loading branch information
ascoders authored Apr 28, 2024
2 parents 50398c6 + 9855baf commit 613a57d
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 613a57d

Please sign in to comment.