chore: remove quick selector label, ref: #3753

This commit is contained in:
Benjy Cui 2016-11-21 11:41:33 +08:00
parent cd2a1438b7
commit 1ae5bb9845
5 changed files with 1 additions and 13 deletions

View File

@ -68,7 +68,7 @@ export default class RangePicker extends React.Component<any, any> {
}
renderFooter = () => {
const { prefixCls, ranges, locale } = this.props;
const { prefixCls, ranges } = this.props;
if (!ranges) {
return null;
}
@ -79,7 +79,6 @@ export default class RangePicker extends React.Component<any, any> {
});
return (
<div className={`${prefixCls}-range-quick-selector`}>
<label>{locale.lang.quickSelection}</label>
{operations}
</div>
);

View File

@ -7,7 +7,6 @@ const locale = {
lang: assign({
placeholder: 'Select date',
rangePlaceholder: ['Start date', 'End date'],
quickSelection: 'Quick selection',
}, CalendarLocale),
timePickerLocale: assign({}, TimePickerLocale),
};

View File

@ -10,7 +10,6 @@ const locale = {
lang: assign({
placeholder: 'Выберите дату',
rangePlaceholder: ['Начальная дата', 'Конечная дата'],
quickSelection: 'Quick selection',
}, CalendarLocale),
timePickerLocale: assign({}, TimePickerLocale),
};

View File

@ -12,7 +12,6 @@ const locale = {
lang: assign({
placeholder: '请选择日期',
rangePlaceholder: ['开始日期', '结束日期'],
quickSelection: '快捷选择',
}, CalendarLocale),
timePickerLocale: assign({}, TimePickerLocale),
};

View File

@ -159,14 +159,6 @@
border-bottom: 1px solid @border-color-split;
padding: 10.5px 10px;
> label {
color: @text-color-secondary;
&:after {
content: ":";
margin: 0 8px 0 2px;
}
}
> a {
margin-right: 16px;
}