google-calendar-day-picker

React day picker like the one used on google calendar event creation

Usage no npm install needed!

<script type="module">
  import googleCalendarDayPicker from 'https://cdn.skypack.dev/google-calendar-day-picker';
</script>

README

google-calendar-day-picker

React day picker like the one used on google calendar event creation

Screenshot

Installation

npm install --save google-calendar-day-picker

Usage

import DayPicker from 'google-calendar-day-picker';

...

<DayPicker onChange={(value) => setDays(value)} ln={'es'} />

It will returns an array of days like ['M', 'T', 'S']

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D