fbredius/storybook

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

Summary

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

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