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
I have searched the Issues to see if this bug has already been reported
I have tested the latest version
Steps to reproduce
Create a Server Component containing
Test, this should render successfully
Add an icon, e.g. 'icon={MdHistory}' using import { MdHistory } from 'react-icons/md'
Current behavior
Rendering gives an Internal Server Error:
'Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.
<... title="test" icon={function MdHistory}>'
Expected behavior
Page should be rendered successfully
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Current behavior
Rendering gives an Internal Server Error:
'Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.
<... title="test" icon={function MdHistory}>'
Expected behavior
Page should be rendered successfully
The text was updated successfully, but these errors were encountered: