forked from ant-design/ant-design
-
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.
- Loading branch information
Showing
14 changed files
with
122 additions
and
50 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
基本 | ||
==== | ||
# 基本 | ||
|
||
- order: 0 | ||
|
||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
禁用 | ||
==== | ||
# 禁用 | ||
|
||
- order: 4 | ||
|
||
|
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,15 @@ | ||
# 无默认值 | ||
|
||
- order: 5 | ||
|
||
没有默认时间。 | ||
|
||
--- | ||
|
||
````jsx | ||
import { Timepicker } from 'antd'; | ||
|
||
ReactDOM.render( | ||
<Timepicker placeholder="Select sth." /> | ||
, document.getElementById('components-timepicker-demo-no-default-value')); | ||
```` |
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,19 @@ | ||
# 三种大小 | ||
|
||
- order: 6 | ||
|
||
三种大小的输入框,大的用在表单中,中的为默认。 | ||
|
||
--- | ||
|
||
````jsx | ||
import { Timepicker } from 'antd'; | ||
|
||
ReactDOM.render( | ||
<div> | ||
<Timepicker defaultValue="12:08:23" size="large" /> | ||
<Timepicker defaultValue="12:08:23" /> | ||
<Timepicker defaultValue="12:08:23" size="small" /> | ||
</div> | ||
, document.getElementById('components-timepicker-demo-size')); | ||
```` |
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
特定选项 | ||
==== | ||
# 特定选项 | ||
|
||
- order: 3 | ||
|
||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
不展示秒 | ||
==== | ||
# 不展示秒 | ||
|
||
- order: 2 | ||
|
||
|
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
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
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
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
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 |
---|---|---|
@@ -1,14 +1,13 @@ | ||
@timepicker-prefix-cls: ant-timepicker; | ||
|
||
.@{timepicker-prefix-cls} { | ||
display: inline; | ||
box-sizing: border-box; | ||
* { | ||
box-sizing: border-box; | ||
} | ||
} | ||
|
||
@import "timepicker/Picker"; | ||
@import "timepicker/TimePanel"; | ||
@import "timepicker/Panel"; | ||
@import "timepicker/Header"; | ||
@import "timepicker/Select"; |
File renamed without changes.
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
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 |
---|---|---|
|
@@ -45,6 +45,7 @@ | |
|
||
&:hover { | ||
background: tint(@primary-color, 90%); | ||
transition: background 0.3s ease; | ||
} | ||
} | ||
} |