{# API #}
{%- set props = props | default([]) -%}
{%- set _elementType = props.elementType -%}
{%- set _rootClass = props.rootClass -%}

{# Class names #}
{%- set _rootClassName = _spiritClassPrefix ~ _rootClass -%}

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

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