mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
site: update header
This commit is contained in:
parent
4f2c12a640
commit
479056364a
@ -116,6 +116,7 @@ export default class Header extends React.Component {
|
||||
'home-nav-white': !this.state.isFirstFrame,
|
||||
});
|
||||
|
||||
const searchPlaceholder = this.context.intl.locale === 'zh-CN' ? '搜索组件...' : 'Search...';
|
||||
return (
|
||||
<header id="header" className={headerClassName}>
|
||||
<Row>
|
||||
@ -136,7 +137,7 @@ export default class Header extends React.Component {
|
||||
<div id="search-box">
|
||||
<Select combobox
|
||||
dropdownClassName="component-select"
|
||||
placeholder="搜索组件..."
|
||||
placeholder={searchPlaceholder}
|
||||
value={undefined}
|
||||
optionFilterProp="data-label"
|
||||
optionLabelProp="data-label"
|
||||
|
Loading…
Reference in New Issue
Block a user