import {CSSProperties, FC} from "react";
import {View} from "@tarojs/components";

interface Props {
  text?: string
  styles?: CSSProperties
  className?: string
}

const PageScript: FC<Props> = (props) => {
  return <View
    className={'text-center font-24 text-muted py-3 ' + props.className}
    style={props.styles}>
    {props.text || "暂无更多"}
  </View>
}

export default PageScript
