addons/docs/src/frameworks/react/__testfixtures__/10017-ts-union/docgen.snapshot
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`react component properties 10017-ts-union 1`] = `
"import React from 'react';
const Avatar = ({
icon
}) => {
return /*#__PURE__*/React.createElement(\\"div\\", {
className: \\"hello\\"
}, \\"Hello Component \\", icon);
};
export const component = Avatar;
Avatar.__docgenInfo = {
\\"description\\": \\"\\",
\\"methods\\": [],
\\"displayName\\": \\"Avatar\\",
\\"props\\": {
\\"icon\\": {
\\"required\\": true,
\\"tsType\\": {
\\"name\\": \\"union\\",
\\"raw\\": \\"React.ReactNode | string\\",
\\"elements\\": [{
\\"name\\": \\"ReactReactNode\\",
\\"raw\\": \\"React.ReactNode\\"
}, {
\\"name\\": \\"string\\"
}]
},
\\"description\\": \\"specify icon=\\\\\\"search\\\\\\" or icon={IconComponent}\\"
}
}
};"
`;