You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Add' cannot be used as a JSX component.
Its element type 'ReactElement<any, any> | Component<IconProps & SVGProps<SVGSVGElement>, any, any> | null' is not a valid JSX element.
Type 'Component<IconProps & SVGProps<SVGSVGElement>, any, any>' is not assignable to type 'Element | ElementClass | null'.
Type 'Component<IconProps & SVGProps<SVGSVGElement>, any, any>' is not assignable to type 'ElementClass'.
The types returned by 'render()' are incompatible between these types.
Type 'React.ReactNode' is not assignable to type 'import("/home/marc/prevailing-winds/frontend/node_modules/@types/react-router/node_modules/@types/react/index").ReactNode'.
Type '{}' is not assignable to type 'ReactNode'.
Your Environment
Grommet version: 2.23.0
Grommet icons: 4.7.0
Node: 16.15.0
The text was updated successfully, but these errors were encountered:
marc-schwering
changed the title
Button icon argument type does not match
Button with icon doesn't compile
May 21, 2022
Using an Icon raises type errors
Expected Behavior
doesn't fail.
Actual Behavior
Fails with:
Your Environment
The text was updated successfully, but these errors were encountered: