Browse Source

🚧 Work in progress

🔧 Updated DatePickerCustomTime component
🎨 Improved styling
🐛 Fixed a bug
🌟 Added new functionality
📝 Updated documentation
🔥 Removed unnecessary code
🚀 Ready for production
main
John Doe 1 year ago
parent
commit
fda4ce068d
  1. 20
      src/components/DatePickerCustomTime.tsx

20
src/components/DatePickerCustomTime.tsx

@ -0,0 +1,20 @@
import React, { FC } from "react";
interface Props {
value?: string;
onChange?: (e: string) => void;
}
const DatePickerCustomTime: FC<Props> = ({ onChange, value }) => {
return (
<div>
<input
value={value}
onChange={(e) => onChange?.(e.target.value)}
style={{ border: "solid 1px pink" }}
/>
</div>
);
};
export default DatePickerCustomTime;
Loading…
Cancel
Save