import { getThemeColor } from "@/features/health/hooks/health_hooks"; import { rpxToPx } from "@/utils/tools"; import { View, Text } from "@tarojs/components"; import { useSelector } from "react-redux"; import './onboard.scss' import NewButton, { NewButtonType } from "../base/new_button"; export default function OnBoard(props: { title: string, desc: string, btnTitle: string, onClick: any, color?: string }) { const health = useSelector((state: any) => state.health); return {props.title} {props.desc} }