Skip to content

Commit

Permalink
[docs] Improve English and fix 404 link (#1815)
Browse files Browse the repository at this point in the history
* [docs] improve English and attempt to fix #1814

* Update docs/pages/demo/datetime-picker/index.mdx

Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>

* Update docs/pages/demo/datetime-picker/index.mdx

Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>

* fix 404

* Update docs/pages/demo/datetime-picker/index.mdx

Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
  • Loading branch information
3 people committed May 27, 2020
1 parent 01f0d76 commit 9fa389f
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/pages/demo/datepicker/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ For this just return `Promise` in `onMonthChange`.

<Example source={ServerRequest} />

#### Components API
#### API

<LinkedComponents components={['DatePicker', 'KeyboardDatePicker']} />
<LinkedComponents components={['DatePicker']} />
4 changes: 4 additions & 0 deletions docs/pages/demo/daterangepicker/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,7 @@ It is possible to render any picker without modal or popper. For that use `Stati
<Hidden smDown>
<Example paddingBottom source={StaticDateRangePicker} />
</Hidden>

#### API

<LinkedComponents components={['DateRangePicker']} />
11 changes: 6 additions & 5 deletions docs/pages/demo/datetime-picker/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ DateTimePicker is a complex control, so you may consider using `MobileDateTimePi

#### Date & Time validation

It is possible to restrict date and time selection in couple of different ways. If you need to restrict time selection
you could use `minDateTime` to restrict selecting date and time before particular moment of time.
Or you can use `minTime` to disable a part of time in each day.
It is possible to restrict date and time selection in two ways:

- using `minDateTime`/`maxDateTime`, you can restrict time selection before or after a particular moment in time
- using `minTime`/`maxTime`, you can disable selecting times before or after a certain time each day respectively

<Example source={DateTimeValidation} />

Expand All @@ -44,6 +45,6 @@ Here are some examples of heavily customized date & time pickers

<Example source={CustomDateTimePicker} />

#### Components API
#### API

<LinkedComponents components={['DateTimePicker', 'KeyboardDateTimePicker']} />
<LinkedComponents components={['DateTimePicker']} />
4 changes: 2 additions & 2 deletions docs/pages/demo/timepicker/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ Seconds input can be used for selection of a precise time point.

<Example source={SecondsTimePicker} />

#### Components API
#### API

<LinkedComponents components={['TimePicker', 'KeyboardTimePicker']} />
<LinkedComponents components={['TimePicker']} />
2 changes: 1 addition & 1 deletion docs/pages/guides/static-components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ You can reuse our logic if you needed some advanced accepting or clearing fuctio

<Example source={StaticComponents} />

#### Components API
#### API

<LinkedComponents components={['Calendar', 'ClockView']} /> -->

1 comment on commit 9fa389f

@vercel
Copy link

@vercel vercel bot commented on 9fa389f May 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.