@billogram/foundation-datepicker

A React datepicker component

Usage no npm install needed!

<script type="module">
  import billogramFoundationDatepicker from 'https://cdn.skypack.dev/@billogram/foundation-datepicker';
</script>

README

@billogram/foundation-datepicker

A React datepicker component

Install

yarn add @billogram/foundation-datepicker

Usage

import {
    FoundationDatepicker,
} from '@billogram/foundation-datepicker';

See types for exported types.

FoundationDatepicker

<FoundationDatepicker
    autoFocus={ false }
    disabled={ false }
    emptyText={ pgettext('foundation-datepicker', 'Label--no-date-yet') }
    hasGrayedOutPast={ false }
    onChange={ noop }
    shouldDisableDate={ never }
    ui="gray"
    value={ null } />

Note

This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.

License

MIT