Skip to content

Commit

Permalink
DateTime component: Add additional design documentation and image (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
cburton4 authored and youknowriad committed Aug 1, 2019
1 parent 173af26 commit 3b87561
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/components/src/date-time/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# DateTimePicker

DateTimePicker is a React component to render a calendar and clock for selecting a date and time. The calendar and clock components can be accessed individually using the `DatePicker` and `TimePicker` components respectively.
DateTimePicker is a React component that renders a calendar and clock for date and time selection. The calendar and clock components can be accessed individually using the `DatePicker` and `TimePicker` components respectively.

![Date Time component](https://wordpress.org/gutenberg/files/2019/07/date-time-picker.png)

## Best practices

Date pickers should:

- Use smart defaults and highlight the current date.

## Usage

Expand Down

0 comments on commit 3b87561

Please sign in to comment.