{% set attributes = create_attribute() %}
{% set status_headings = {
  status: 'status message',
  warning: 'warning message',
  error: 'error message',
} %}

{% stories status_messages with {
  title: 'Molecules/Status messages',
} %}
  {% story status with {
    name: 'Status',
  } %}
    {% include "@rocketship-theme-starter-molecules/status/status-messages.html.twig" with {
      attributes,
      status_headings,
      message_list: {
        status: {
          message: 'This is a status message',
        }
      }
    } %}
  {% endstory %}
  {% story warning with {
    name: 'Warning',
  } %}
    {% include "@rocketship-theme-starter-molecules/status/status-messages.html.twig" with {
      attributes,
      status_headings,
      message_list: {
        warning: {
          message: 'This is a warning message',
        }
      }
    } %}
  {% endstory %}
  {% story error with {
    name: 'Error',
  } %}
    {% include "@rocketship-theme-starter-molecules/status/status-messages.html.twig" with {
      attributes,
      status_headings,
      message_list: {
        error: {
          message: 'This is an error message',
        }
      }
    } %}
  {% endstory %}
{% endstories %}
