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

<view
  wx:if="{{ animated || inited }}"
  class="custom-class {{ utils.bem('tab__pane', { active, inactive: !active }) }}"
  style="{{ animated || active ? '' : 'display: none;' }} {{ width ? 'width:' + width + 'px;' : '' }}"
>
  <slot />
</view>
