import React from "react";
import { View } from "react-native";
import { Icon, SelectItem } from "@ui-kitten/components";
import { Datepicker, BottomModal } from "beeshell";
import * as TimeUtil from "../Utils/TimeUtil";
const ForwardIcon = props => ;
export default function MyDatepicker(props) {
const { value, chooseDate } = props || {};
const [dateValue, chooseValue] = React.useState();
const bottomRef = React.useRef();
return (
<>
{
chooseValue(value);
bottomRef.current.open();
}}
/>
{
chooseDate(dateValue);
}}
>
{
console.log(date);
chooseValue(date);
}}
/>
>
);
}