Hey guys,
im feeling kinda dumb but i cant find a way to fix this on my own.
Im trying to import and set a custom Icon inside the payload config but it doesnt accept any component i make due to a type mismatch:
Type '() => React.JSX.Element' is not assignable to type 'CustomComponent<Record<string, any>> | undefined'.ts(2322)
(property) Icon?: CustomComponent<Record<string, any>> | undefined
Two screenshots of the config as well as the Icon are attatched.
Thanks for any help!