{# API #}
{%- set props = props | default([]) -%}
{%- set _isFluid = props.isFluid | default(false) -%}

{# Class names #}
{%- set _rootClassName = _spiritClassPrefix ~ 'Container' -%}
{%- set _rootFluidClassName = _isFluid ? _spiritClassPrefix ~ 'Container--fluid' : null -%}

{# Miscellaneous #}
{%- set _styleProps = useStyleProps(props) -%}
{%- set _classNames = [ _rootClassName, _rootFluidClassName, _styleProps.className ] -%}

<div {{ mainProps(props) }} {{ styleProp(_styleProps) }} {{ classProp(_classNames) }}>
    {%- block content %}{% endblock -%}
</div>
