Skip to content

Convert some props to slots #25

Description

@jgottwig

According to:

https://www.drupal.org/docs/develop/theming-drupal/using-single-directory-components/what-are-props-and-slots-in-drupal-sdc-theming

We need to convert many of our SDC props to slots as well as the underlying templates for managing slots.

There were instances where we assumed string content should be a prop, but really props should be just used for configuration, variants, css, etc, while any renderable should be a slot. This is not an obvious problem until trying to render content in Views using SDC+UI Patterns. Views correctly considers props out-of-scope for rendering Drupal content and will not make these available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions