{
  "!!!!! DO NOT EDIT THIS FILE !!!!!!": {
    "REGENERATE THIS WITH ONE OF THE FOLLOWING": [
      "yarn docgen ./packages/monorail/src/v2/components/AlertModal/AlertModal.tsx",
      "yarn docgen:all"
    ]
  },
  "parameters": {
    "docs": {
      "description": {
        "component": "An alert modal informs the user about situations that require acknowledgement.\n\n- [Alerts | Monorail Figma](https://www.figma.com/file/dKL9YeHgWyxmRHuIjs38f3O9/Monorail-Components?node-id=17564%3A21)"
      }
    }
  },
  "argTypes": {
    "onClose": {
      "defaultValue": null,
      "description": "Callback for when the modal is closed",
      "name": "onClose",
      "required": true,
      "type": { "name": "() => void", "required": true },
      "table": { "type": { "summary": "() => void" } },
      "control": { "type": null }
    },
    "open": {
      "defaultValue": null,
      "description": "Whether the modal is visible and active",
      "name": "open",
      "required": true,
      "type": { "name": "boolean", "required": true },
      "table": { "type": { "summary": "boolean" } },
      "control": { "type": "boolean" }
    },
    "children": {
      "defaultValue": null,
      "description": "Placed after `description` and before the actions",
      "name": "children",
      "required": false,
      "type": { "name": "ReactNode", "required": false },
      "table": { "type": { "summary": "ReactNode" } },
      "control": { "type": "object" }
    },
    "description": {
      "defaultValue": null,
      "description": "The body of the message",
      "name": "description",
      "required": false,
      "type": { "name": "string", "required": false },
      "table": { "type": { "summary": "string" } },
      "control": { "type": "text" }
    },
    "label": {
      "defaultValue": null,
      "description": "The text shown in the header, after the icon",
      "name": "label",
      "required": false,
      "type": { "name": "string", "required": false },
      "table": { "type": { "summary": "string" } },
      "control": { "type": "text" }
    },
    "ModalProps": {
      "defaultValue": null,
      "description": "",
      "name": "ModalProps",
      "required": false,
      "type": { "name": "Partial<ModalProps>", "required": false },
      "table": { "type": { "summary": "Partial<ModalProps>" } },
      "control": { "type": null }
    },
    "primaryAction": {
      "defaultValue": null,
      "description": "String label or config object of the primary action",
      "name": "primaryAction",
      "required": false,
      "type": {
        "name": "string | { label: string; onClick: () => void; disabled?: boolean; } | undefined",
        "required": false
      },
      "table": {
        "type": {
          "summary": "string | { label: string; onClick: () => void; disabled?: boolean; } | undefined"
        }
      },
      "control": { "type": null }
    },
    "secondaryAction": {
      "defaultValue": null,
      "description": "String label or config object of the secondary action",
      "name": "secondaryAction",
      "required": false,
      "type": {
        "name": "string | { label: string; onClick: () => void; }",
        "required": false
      },
      "table": {
        "type": {
          "summary": "string | { label: string; onClick: () => void; }"
        }
      },
      "control": { "type": null }
    },
    "title": {
      "defaultValue": null,
      "description": "The title of the message",
      "name": "title",
      "required": false,
      "type": { "name": "string", "required": false },
      "table": { "type": { "summary": "string" } },
      "control": { "type": "text" }
    },
    "type": {
      "defaultValue": null,
      "description": "The visual style and default `label`\n\nDefault: `info`",
      "name": "type",
      "required": false,
      "type": {
        "name": "\"error\" | \"warning\" | \"success\" | \"info\"",
        "required": false
      },
      "table": {
        "type": {
          "summary": "\"error\" | \"warning\" | \"success\" | \"info\""
        }
      },
      "control": {
        "type": "radio",
        "options": ["error", "warning", "success", "info"]
      }
    }
  }
}
