Skip to content

create new Component using stoon.of(Component) #10

@Amine-H

Description

@Amine-H

allow creating new component using this syntax:

const MyComponent = Show.of(Text);

and applying it as follows:

<MyComponent showIf={true}>Hey</MyComponent>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions