fbredius/storybook

View on GitHub
addons/docs/src/frameworks/react/__testfixtures__/9493-ts-display-name/argTypes.snapshot

Summary

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

exports[`react component properties 9493-ts-display-name 1`] = `
Object {
  "message": Object {
    "control": Object {
      "type": "text",
    },
    "description": "A message alerting about Empire activities.",
    "name": "message",
    "table": Object {
      "defaultValue": null,
      "jsDocTags": undefined,
      "type": Object {
        "detail": undefined,
        "summary": "string",
      },
    },
    "type": Object {
      "name": "string",
      "required": true,
    },
  },
  "title": Object {
    "control": Object {
      "type": "object",
    },
    "description": "A title that brings attention to the alert.",
    "name": "title",
    "table": Object {
      "defaultValue": Object {
        "detail": undefined,
        "summary": "'Code Yellow'",
      },
      "jsDocTags": undefined,
      "type": Object {
        "detail": undefined,
        "summary": "union",
      },
    },
    "type": Object {
      "name": "union",
      "raw": "'Code Red' | 'Code Yellow' | 'Code Green'",
      "required": false,
      "value": Array [
        Object {
          "name": "other",
          "value": "literal",
        },
        Object {
          "name": "other",
          "value": "literal",
        },
        Object {
          "name": "other",
          "value": "literal",
        },
      ],
    },
  },
}
`;