{"repo":"react-component/picker","free":true,"listed":false,"github":"https://github.com/react-component/picker","clone":"git clone https://github.com/react-component/picker.git","description":"📅 React date, time, range, and panel picker primitives with pluggable date-library generate configs.","language":"TypeScript","stars":304,"topics":["react","react-component","antd","ant-design","javascript"],"license":"MIT","category":"ui-components","readme_excerpt":"@rc-component/picker Part of the Ant Design ecosystem. 📅 React date, time, range, and panel picker primitives with pluggable date-library generate configs. English 简体中文 Highlights - Single picker, range picker, and panel-only picker exports. - Date, time, week, month, quarter, and year modes. - Pluggable generateConfig adapters for date-fns, dayjs, luxon, and moment. - Locale packages exposed from @rc-component/picker/locale/ . - Controlled value, popup state, panel value, presets, disabled dates, semantic class names, and custom cell rendering. - TypeScript definitions for picker props, range values, locale, date-library adapters, and refs. - Used by Ant Design as the shared date and time picker foundation. Install Install the date library you plan to use if it is not already in your project: Usage Examples Run the local dumi site: Then open http://localhost:8000 . API Exports Export Description ------------- ------------------------------------------------------------- Picker Input picker for one date/time value or multiple values. RangePicker Input picker for start and end date/time values. PickerPanel Panel-only picker without the input trigger. generate/ Date-library adapters for date-fns, dayjs, luxon, and moment. locale/ Locale objects for picker UI text and formats. interface Shared TypeScript types. Shared Picker Props Property Type Default Description --- --- --- --- allowClear boolean \\ { clearIcon?: ReactNode } false Show the clear button or customize it. cellRen","default_branch":null,"files":null,"tree":[],"storefront":"/r/react-component","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/react-component/picker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}