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]
When using
PageHeader, it appears thatPageHeader.Titledoes not accept theidprop. When used, we get the following diagnostics message from tsc: