Skip to content

Clean up inline components in examples #941

Open
@matthewlipski

Description

@matthewlipski

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} />

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions