/*
 * @Author: codingfly
 * @Description:
 * @Date: 2022-06-08 10:27:48
 * @LastEditTime: 2022-06-08 10:53:13
 * @FilePath: \remaxui\src\visible\index.toutiao.tsx
 */
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import Visible from './native-toutiao';
import React from 'react';
import { View } from 'remax/toutiao';
export default (function (_ref) {
  var children = _ref.children,
      className = _ref.className,
      onHidden = _ref.onHidden,
      onVisible = _ref.onVisible,
      height = _ref.height,
      perf = _ref.perf;
  return /*#__PURE__*/React.createElement(Visible, {
    perf: perf,
    "class-name": className,
    onVisible: onVisible,
    height: height,
    onHidden: onHidden
  }, children || /*#__PURE__*/React.createElement(View, {
    style: {
      height: '1px',
      width: '1px'
    }
  }));
});