import React from "react";
import {Button, Image, Input, Select, Stack, Text, Textarea,} from "@chakra-ui/react";
import {Chart} from "react-google-charts";
let startbtn = `https://firebasestorage.googleapis.com/v0/b/aime2-322411.appspot.com/o/start_btn_icon.svg?alt=media&token=6dd16f89-38d2-45c1-b590-d7ac8afe0e04`
interface inputProps {
title: string;
OnChange: any;
value?: any;
}
interface inputProps {
title: string;
OnChange: any;
value?: any;
}
interface selectProps {
title: string;
OnChange: any;
children?: any;
}
interface pieChartProps {
title: string;
data: any;
}
interface activityCardProps {
activity: string;
activityDetails: string;
OnClick: any;
activityImage: string;
}
export const CustomInputDate = (props: inputProps) => {
return (
<>
{props.title}
>
);
};
export const CustomTextBox = (props: inputProps) => {
return (
<>
{props.title}
>
);
};
export const CustomInput = (props: inputProps) => {
return (
<>
{props.title}
>
);
};
export const CustomSelect = (props: selectProps) => {
return (
<>
{props.title}
>
);
};
export const CustomPieChart = (props: pieChartProps) => {
return (
<>
{props.title}
Loading Chart}
data={props.data}
options={{
legend: "none",
pieSliceText: "none",
backgroundColor: "transparent",
height: 210,
width: 210,
}}
rootProps={{"data-testid": "1"}}
/>
>
);
};
export const BabuActivityCard = ({
activity,
activityDetails,
OnClick,
activityImage,
}: activityCardProps) => {
return (
<>
{activity}
{activityDetails}
>
);
};