/*
 * @Description:
 * @Author: jiass
 * @Date: 2022-01-26 16:07:43
 * @LastEditTime: 2022-04-08 16:15:35
 * @LastEditors: lanzhisheng
 */
import React, { FC } from "react";
import { View, Image } from "@tarojs/components";

type EmptyData = {
  height?: string;
  emptyHolder: any;
};
const EmptyData: FC<EmptyData> = ({ height, emptyHolder }) => {
  const wrapperStyle = height ? { height } : {};
  return (
    <View className="empty_placeholder" style={wrapperStyle}>
      <Image style="width:90px;height:105px" src={emptyHolder} />
    </View>
  );
};

export default EmptyData;
