Markup and styles that feel right
Home Page:https://reshadow.dev
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
artalar opened this issue 5 years ago · comments
as property must be ignored when it set in a class / function components.
as
Error (TypeError: Cannot read property 'startsWith' of undefined):
TypeError: Cannot read property 'startsWith' of undefined
<MenuItem {...menu} as={ThemeSettings} />
Fine:
<MenuItem {...menu} {...{ as: ThemeSettings }} />