BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Clean up inline components in examples

Open matthewlipski opened this issue 1 year ago • 0 comments

We should make sure that when a component is passed as a prop in any of the examples, it's not done inline. E.g.

// Bad
<FormattingToolbarController formattingToolbar={(props) => <...>} />

// Good
<FormattingToolbarController formattingToolbar={Component} />

matthewlipski avatar Jul 17 '24 10:07 matthewlipski