Describe the bug
EuiComment's TS type does not allow id to be added to the element.
Type '{ children: Element; id: string; "data-test-subj": string; actions: {} | Iterable<ReactNode> | ReactNode[]; username: string; event: string | undefined; eventColor: "warning" | "subdued"; timelineAvatar: Element; timestamp: Element; }' is not assignable to type 'IntrinsicAttributes & EuiCommentProps & { children?: ReactNode; }'.
Property 'id' does not exist on type 'IntrinsicAttributes & EuiCommentProps & { children?: ReactNode; }'.ts(2322)
Impact and severity
Workaround: add // @ts-ignore.
Environment and versions
- EUI version: 93.4.0
- React version: 17.0.2
Describe the bug
EuiComment's TS type does not allowidto be added to the element.Impact and severity
Workaround: add
// @ts-ignore.Environment and versions