mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
fix prefixCls
This commit is contained in:
parent
23e1ad362b
commit
9dd5becfc8
@ -9,7 +9,7 @@ const AntTimePicker = React.createClass({
|
||||
getDefaultProps() {
|
||||
return {
|
||||
format: 'HH:mm:ss',
|
||||
prefixCls: 'ant-timepicker',
|
||||
prefixCls: 'ant-time-picker',
|
||||
onChange() {},
|
||||
locale: {},
|
||||
align: {
|
||||
|
@ -33,4 +33,4 @@ API
|
||||
| secondOptions | 特定可选择的秒 | array | 0 到 60 组成的数组 |
|
||||
| locale | 国际化配置 | Object | [默认配置](https://github.com/ant-design/ant-design/issues/424) |
|
||||
|
||||
<style>.code-box-demo .ant-timepicker { margin: 0 8px 12px 0; }</style>
|
||||
<style>.code-box-demo .ant-time-picker { margin: 0 8px 12px 0; }</style>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@timepicker-prefix-cls: ant-timepicker;
|
||||
@timepicker-prefix-cls: ant-time-picker;
|
||||
|
||||
.@{timepicker-prefix-cls} {
|
||||
box-sizing: border-box;
|
||||
|
Loading…
Reference in New Issue
Block a user