forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TimePickerExampleInternational in the documentation section
- Loading branch information
feit
committed
Jan 26, 2016
1 parent
9d57710
commit 7644d41
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
docs/src/app/components/pages/components/TimePicker/ExampleInternational.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from 'react'; | ||
import TimePicker from 'material-ui/lib/time-picker/time-picker'; | ||
|
||
const TimePickerInternational = () => ( | ||
<div> | ||
<TimePicker | ||
hintText="Custom Wordings" | ||
wordings={{ok: '确定', cancel: '取消'}} | ||
/> | ||
</div> | ||
); | ||
|
||
export default TimePickerInternational; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters