<import-sjs name="utils" from="./index.sjs"/>
<wrapper>
  <view class="empty-container" style="height: {{ height }}">
    <view class="empty-icon" style="background-image: url({{ utils.getIcon(type, icon) }})"/>
    <view class="title" a:if="{{ !!title }}">{{ title }}</view>
    <view class="message" a:if="{{ !!message }}">{{ message }}</view>
    <view class="content"><slot /></view>
  </view>
</wrapper>
