fbredius/storybook

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

Summary

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

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