--- order: 0 title: 全局搜索 --- 通常放置在导航工具条右侧。(点击搜索图标预览效果) ````jsx import HeaderSearch from 'ant-design-pro/lib/HeaderSearch'; ReactDOM.render(
{ console.log('input', value); // eslint-disable-line }} onPressEnter={(value) => { console.log('enter', value); // eslint-disable-line }} />
, mountNode); ````