fbredius/storybook

View on GitHub
addons/docs/src/frameworks/react/__testfixtures__/10017-ts-union/argTypes.snapshot

Summary

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

exports[`react component properties 10017-ts-union 1`] = `
Object {
  "icon": Object {
    "control": Object {
      "type": "object",
    },
    "description": "specify icon=\\"search\\" or icon={IconComponent}",
    "name": "icon",
    "table": Object {
      "defaultValue": null,
      "jsDocTags": undefined,
      "type": Object {
        "detail": undefined,
        "summary": "union",
      },
    },
    "type": Object {
      "name": "union",
      "raw": "React.ReactNode | string",
      "required": true,
      "value": Array [
        Object {
          "name": "other",
          "raw": "React.ReactNode",
          "value": "ReactReactNode",
        },
        Object {
          "name": "string",
        },
      ],
    },
  },
}
`;