fix prefixCls

This commit is contained in:
afc163 2015-12-11 19:58:41 +08:00
parent 23e1ad362b
commit 9dd5becfc8
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ const AntTimePicker = React.createClass({
getDefaultProps() {
return {
format: 'HH:mm:ss',
prefixCls: 'ant-timepicker',
prefixCls: 'ant-time-picker',
onChange() {},
locale: {},
align: {

View File

@ -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>

View File

@ -1,4 +1,4 @@
@timepicker-prefix-cls: ant-timepicker;
@timepicker-prefix-cls: ant-time-picker;
.@{timepicker-prefix-cls} {
box-sizing: border-box;