Skip to content

Unspecified what to do with Child Components/slots #2

@consoleillusion

Description

@consoleillusion

Content to be inserted into slots doesnt make sense under props, as they aren't passed like attributes. But these could possibly be put on the same level as props, taking into account named slots.

props:
  text:
  background:
children:
  namedslot1:
  namedslot2:

Or, the children could be an array of objects, and specify the slot name.

props:
  text:
  background:
children:
  - name: slot1
  - name: slot2

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