Skip to content

Change all *Component to accept only functional components #54

@selvagsz

Description

@selvagsz

Need to allow only render props on all *Component api

eg.,

selectedComponent={<div>blah</div>}
selectedComponent={<Foo />}

will become

selectedComponent={(props) => ( <div>blah</div> )}
selectedComponent={(props) => ( <Foo {...props} /> )}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions