Skip to content

Add "template" argument permitting modifications to the page wrapper component #10

Description

@hydrosquall

A feature that I occasionally used in styleguidist when documenting components in an existing codebase was the ability to add some elements or imports to the shared HTML that wrapped all the fixtures.

Arguably these components could be rewritten to not depend on global state, but having this option eased the migration path when integrating certain legacy components. I was wondering if people would be interested in having that feature in cosmos too.

https://github.com/styleguidist/react-styleguidist/blob/master/docs/Configuration.md#template

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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