Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react date picker

import { registerLocale, setDefaultLocale } from  "react-datepicker";
import es from 'date-fns/locale/es';
registerLocale('es', es)

<DatePicker
  locale="es"
/>
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #react #date #picker
ADD COMMENT
Topic
Name
5+2 =