import Taro from "@tarojs/taro"; import { View } from "@tarojs/components"; import { IProps } from "../../../@types/calendar"; import { isH5, isWeApp } from "../../lib"; import Calendar_h5 from "./h5"; import Calendar_weapp from "./weapp"; export default function ClCalendar(props: IProps) { return ( {isWeApp ? : ""} {isH5 ? : ""} ); } ClCalendar.defaultProps = { calendarType: "month", showType: "card", activeColor: "blue", tipDay: [], backToToday: true, onClick: () => {}, onChange: () => {}, badge: [], highlightWeekend: false, highlightWeekendColor: "blue", specialDay: [] } as IProps; ClCalendar.options = { addGlobalClass: true };