UNPKG

@orange_digital/chakra-datepicker

Version:
41 lines (27 loc) 1.35 kB
# chakra-datepicker A very lightweight (3.99kb unpacked) datepicker for React & Chakra-UI ## Installation ```bash $ yarn add @orange_digital/chakra-datepicker # or $ npm install --save @orange_digital/chakra-datepicker ``` ## Example usage: ```typescript import React from 'react'; import { DatePicker } from '@orange_digital/chakra-datepicker'; export const Component: React.FC = () => { return ( <DatePicker initialValue={new Date()} /> ) } ``` ## Default styling image ![Imgur](https://i.imgur.com/Px8dcn9.png) # Contributing The main purpose of this repository is to continue evolving chakra-datepicker, making it faster and easier to use. Development of this package happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving chakra-datepicker. ### Good First Issues To help you get your feet wet and get you familiar with our contribution process, we have a list of [good first issues](https://github.com/OrangeDigitalAustralia/chakra-datepicker/labels/good%20first%20issue) that contain bugs which have a relatively limited scope. This is a great place to get started. ### License Chakra-datepicker is [MIT licensed](./LICENSE). Note: the contributing section is inspired by the React project's README