import { ComponentType } from 'react' import { Component } from '@tarojs/taro' import { StandardProps, CommonEventFunction } from '@tarojs/components/types/common' export interface TctPullProps extends StandardProps { /* 滚动条到底部回调方法 */ onLower?: CommonEventFunction /* 滚动条到顶部回调方法 */ onUpper?: CommonEventFunction /* 上拉回调方法 */ onPullUp?: CommonEventFunction /* 下拉回调方法 */ onPullDown?: CommonEventFunction /* 是否使用顶部自定义动画 */ headerCustom?: boolean /* 顶部自定义动画 */ renderHeader?: JSX.Element /* 是否使用底部自定义动画 */ footerCustom?: boolean /* 底部自定义动画 */ renderFooter?: JSX.Element /* 指定容器高度 */ warpperHeight?: number } declare const TctPull: ComponentType export default TctPull