fbredius/storybook

View on GitHub
addons/docs/src/frameworks/react/__testfixtures__/8143-ts-imported-types/docgen.snapshot

Summary

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

exports[`react component properties 8143-ts-imported-types 1`] = `
"import React from 'react';
export const FooComponent = foo => /*#__PURE__*/React.createElement(React.Fragment, null, JSON.stringify(foo));
export const component = FooComponent;
FooComponent.__docgenInfo = {
  \\"description\\": \\"\\",
  \\"methods\\": [],
  \\"displayName\\": \\"FooComponent\\",
  \\"props\\": {
    \\"bar\\": {
      \\"required\\": true,
      \\"tsType\\": {
        \\"name\\": \\"Foo['bar']\\",
        \\"raw\\": \\"Foo['bar']\\"
      },
      \\"description\\": \\"\\"
    }
  }
};"
`;