fbredius/storybook

View on GitHub
addons/docs/src/frameworks/react/__testfixtures__/9556-ts-react-default-exports/docgen.snapshot

Summary

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

exports[`react component properties 9556-ts-react-default-exports 1`] = `
"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

/* eslint-disable react/button-has-type */
import React from 'react';
export const Button = ({
  isDisabled = false,
  ...props
}) => /*#__PURE__*/React.createElement(\\"button\\", _extends({
  disabled: isDisabled
}, props));
export const component = Button;
Button.__docgenInfo = {
  \\"description\\": \\"\\",
  \\"methods\\": [],
  \\"displayName\\": \\"Button\\",
  \\"props\\": {
    \\"isDisabled\\": {
      \\"defaultValue\\": {
        \\"value\\": \\"false\\",
        \\"computed\\": false
      },
      \\"required\\": false,
      \\"tsType\\": {
        \\"name\\": \\"boolean\\"
      },
      \\"description\\": \\"\\"
    }
  }
};"
`;