<wxs src="../common/utils.wxs" module="_" />

<view
  class="class {{prefix}}-class {{classPrefix}} {{active ? prefix + '-is-active': ''}}"
  style="{{_._style([style, customStyle, (hide ? 'height: 0' : '')])}}"
  id="{{id}}"
  aria-role="tabpanel"
>
  <view wx:if="{{panel}}">{{panel}}</view>
  <slot />
  <slot name="panel" />
</view>
