When I try to set the role as navigation for the List component, I'm faced with the following error:
Type '{ children: (tab: any, testid: string) => Element; role: string; "data-testid": string; items: any[]; customClassName: string; }' is not assignable to type 'IntrinsicAttributes & ListProps<any>'.
Property 'role' does not exist on type 'IntrinsicAttributes & ListProps<any>'.ts(2322)
When I try to set the role as
navigation
for the List component, I'm faced with the following error: