Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Allow users to create multiple quarks with one function call #10

@dslovinsky

Description

@dslovinsky

Is your feature request related to a problem? Please describe.
Currently, users have to invoke quark every time they want to use another element with styles. That can clutter up a component real fast if they want to use many different element types, as you would for example when making a table.

Describe the solution you'd like
Allow quark function to take any number of arguments, and iterate over each to return a tuple of returned components if more than one is provided. Ex:

const [Div, P, A, Span] = quark('div', 'p', 'a', 'span');

Describe alternatives you've considered
Keep current functionality.

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions