reshadow icon indicating copy to clipboard operation
reshadow copied to clipboard

"as" property conflict

Open artalar opened this issue 4 years ago • 0 comments

as property must be ignored when it set in a class / function components.

Error (TypeError: Cannot read property 'startsWith' of undefined):

<MenuItem {...menu} as={ThemeSettings} />

example

Fine:

<MenuItem {...menu} {...{ as: ThemeSettings }} />

artalar avatar Nov 02 '19 14:11 artalar