Skip to content

PageHeader.Title does not seem to accept id prop #8474

Description

@joshblack

When using PageHeader, it appears that PageHeader.Title does not accept the id prop. When used, we get the following diagnostics message from tsc:

1. Type '{ children: Element; as: "h1"; id: string; }' is not assignable to type 'IntrinsicAttributes & { as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; } & ChildrenPropTypes & { children?: ReactNode; }'.
     Property 'id' does not exist on type 'IntrinsicAttributes & { as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; } & ChildrenPropTypes & { children?: ReactNode; }'. [2322]

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions