@react-datepicker/ui
  • 👋Welcome
  • Getting Started
    • Quickstart
  • Documentation
    • 🔨Building your calendar
    • ⏭️Adding months navigation
    • Arrange to weeks
    • 🎨Design & Customizations
    • 📆Range Picker
    • Calendar options
    • 🌍Localization
    • 🗓️Events scheduling
  • UI Components
    • Calendar
    • Datepicker
    • DateRangePicker
  • Group 1
    • Page 1
Powered by GitBook
On this page
  • Installation
  • Basic Usage
  1. Getting Started

Quickstart

Installation

Installation

Below are the commands to install with different package managers:

npm install gitbook-cli
yarn add gitbook-cli
pnpm add gitbook-cli

Basic Usage

import useCalendar from "gitbook-cli";

const {
  value,
  displayedMonths,
  nextMonth,
  previousMonth,
  nextYear,
  previousYear,
  register,
} = useCalendar();
PreviousWelcomeNextBuilding your calendar

Last updated 6 months ago