fbredius/storybook

View on GitHub
addons/docs/src/frameworks/react/__testfixtures__/10278-ts-multiple-components/docgen.snapshot

Summary

Maintainability
Test Coverage
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`react component properties 10278-ts-multiple-components 1`] = `
"/* eslint-disable react/destructuring-assignment */
import React from 'react';

/**
 * A component
 */
const A = props => {
  return /*#__PURE__*/React.createElement(React.Fragment, null, \\"Hi \\", props.aProperty);
};
/**
 * B component
 */


const B = props => {
  return /*#__PURE__*/React.createElement(React.Fragment, null, \\"Hi \\", props.bProperty);
};

A.__docgenInfo = {
  \\"description\\": \\"A component\\",
  \\"methods\\": [],
  \\"displayName\\": \\"A\\",
  \\"props\\": {
    \\"aProperty\\": {
      \\"required\\": true,
      \\"tsType\\": {
        \\"name\\": \\"any\\"
      },
      \\"description\\": \\"\\"
    }
  }
};
B.__docgenInfo = {
  \\"description\\": \\"B component\\",
  \\"methods\\": [],
  \\"displayName\\": \\"B\\",
  \\"props\\": {
    \\"bProperty\\": {
      \\"required\\": true,
      \\"tsType\\": {
        \\"name\\": \\"any\\"
      },
      \\"description\\": \\"\\"
    }
  }
};
export { A, B };
export const component = A;"
`;