fbredius/storybook

View on GitHub
addons/docs/src/frameworks/react/__testfixtures__/9465-ts-type-props/docgen.snapshot

Summary

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

exports[`react component properties 9465-ts-type-props 1`] = `
"import React from 'react';

const Component = ({
  disabled = false,
  children
}) =>
/*#__PURE__*/
// eslint-disable-next-line react/button-has-type
React.createElement(\\"button\\", {
  disabled: disabled
}, children);

export const component = Component;
Component.__docgenInfo = {
  \\"description\\": \\"\\",
  \\"methods\\": [],
  \\"displayName\\": \\"Component\\",
  \\"props\\": {
    \\"disabled\\": {
      \\"defaultValue\\": {
        \\"value\\": \\"false\\",
        \\"computed\\": false
      },
      \\"required\\": false,
      \\"tsType\\": {
        \\"name\\": \\"boolean\\"
      },
      \\"description\\": \\"\\"
    }
  }
};"
`;