Skip to content

Create shared PageWrapper component #216

@kmonahan

Description

@kmonahan

Instead of repeating markup between Storybook's page wrapper and Next.js's layout.tsx, create a shared PageWrapper component that accepts whatever props are needed to handle different content between Storybook and Next.js.

Example: https://github.com/forumone/si-mysmithsonian/blob/main/source/04-templates/PageWrapper/PageWrapper.tsx

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