📜  react js中的日期 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:32.010000             🧑  作者: Mango

代码示例1
import React, { useState } from 'react';
import DatePicker from 'react-date-picker';

function MyApp() {
  const [value, onChange] = useState(new Date());

  return (
    
); }