import React, { useState } from "react"; import type { ComponentProps } from "react"; import { InputTime } from "@jobber/components-native"; type InputTimeProps = ComponentProps; interface InputTimeControlledArgs { placeholder?: InputTimeProps["placeholder"]; disabled?: InputTimeProps["disabled"]; invalid?: InputTimeProps["invalid"]; emptyValueLabel?: InputTimeProps["emptyValueLabel"]; } export function InputTimeBasic(props: Partial) { const [time, setTime] = useState( new Date("2023-07-21T16:36:34.873Z"), ); return ( setTime(newTime)} /> ); }