Skip to content

Commit

Permalink
docs: update input-fields.mdx, intro
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Jun 6, 2024
1 parent 61c9eba commit 7e8f3c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions website/docs/advanced-guides/input-fields.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_position: 1

# Input Fields

To bind a DayPicker with sn input field, you need to handle the integration in your application. This involves managing user interactions, syncing the selected date between the calendar and the input field, and ensuring accessibility and usability.
Binding a DayPicker with an input field requires to handle of user interactions, synchronize the selected date between the calendar and the input field, while maintaining accessibility and usability.

:::info Native Date Pickers

Expand All @@ -17,8 +17,6 @@ However, the appearance and format of the date picker can vary between different

### Input with Inline Calendar

Integrate an input field with an inline DayPicker calendar. The input field allows users to type a date, and the calendar updates the selected date based on the input value.

See also the [full source code](https://github.com/gpbl/react-day-picker/blob/main/website/examples/Input.tsx) and [the unit tests](https://github.com/gpbl/react-day-picker/blob/main/website/examples/Input.test.tsx) for this example.

<BrowserWindow>
Expand Down
6 changes: 3 additions & 3 deletions website/docs/intro.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: Introduction
sidebar_label: Introduction
sidebar_position: 1
slug: /
title: Introduction
---

# React DayPicker
# Introduction

DayPicker is a [React](https://react.dev) component to create date pickers, calendars, and date inputs for web applications.
React DayPicker is a [React](https://react.dev) component to create date pickers, calendars, and date inputs for web applications.

## Features

Expand Down

0 comments on commit 7e8f3c3

Please sign in to comment.