parent
5e6375cd4f
commit
ee5741a752
@ -0,0 +1,18 @@ |
||||
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-dark py-3 ' + props.className} |
||||
style={props.styles}> |
||||
{props.text || "暂无更多"} |
||||
</View> |
||||
} |
||||
|
||||
export default PageScript |
Loading…
Reference in new issue