We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 788fe70 commit 5168a3bCopy full SHA for 5168a3b
1 file changed
src/render.ts
@@ -50,7 +50,7 @@ const render = (props, data, ...more) => {
50
51
if (children && (children instanceof Object)) {
52
if (process.env.NODE_ENV !== 'production') {
53
- if (!children.type || ((typeof children.type !== 'string') && (typeof children.type !== 'function'))) {
+ if (!children.type || ((typeof children.type !== 'string') && (typeof children.type !== 'function') && (typeof children.type !== 'symbol'))) {
54
console.warn(
55
'Universal component interface received object as children, ' +
56
'expected React element, but received unexpected React "type".'
0 commit comments