replace-datetime — A lightweight, fully-featured datetime picker for React 18 and 19.
replace-datetime
Drop-in replacement for the legacy react-datetime library, rebuilt with modern functional components, TypeScript, and zero legacy dependencies.
react-datetime
import Datetime from 'replace-datetime';import 'replace-datetime/css/react-datetime.css';function App() { return <Datetime onChange={(value) => console.log(value)} />;} Copy
import Datetime from 'replace-datetime';import 'replace-datetime/css/react-datetime.css';function App() { return <Datetime onChange={(value) => console.log(value)} />;}
replace-datetime— A lightweight, fully-featured datetime picker for React 18 and 19.Drop-in replacement for the legacy
react-datetimelibrary, rebuilt with modern functional components, TypeScript, and zero legacy dependencies.Example: Basic usage