mirror of
https://github.com/Redocly/redoc.git
synced 2025-04-22 09:42:00 +03:00
Merge pull request #13 from Bandwidth/DX-2758
DX-2758 Update Redoc Search
This commit is contained in:
commit
f693bd8615
|
@ -147,7 +147,7 @@ export class SearchBox extends React.PureComponent<SearchBoxProps, SearchBoxStat
|
|||
<SearchInput
|
||||
value={this.state.term}
|
||||
onKeyDown={this.handleKeyDown}
|
||||
placeholder="Search..."
|
||||
placeholder="Search API paths..."
|
||||
aria-label="Search"
|
||||
type="text"
|
||||
onChange={this.search}
|
||||
|
|
|
@ -7,8 +7,6 @@ import { OptionsContext } from '../OptionsProvider';
|
|||
import { MenuItems } from './MenuItems';
|
||||
|
||||
import { PerfectScrollbarWrap } from '../../common-elements/perfect-scrollbar';
|
||||
import { RedocAttribution } from './styled.elements';
|
||||
import RedoclyLogo from './Logo';
|
||||
|
||||
@observer
|
||||
export class SideMenu extends React.Component<{ menu: MenuStore; className?: string }> {
|
||||
|
@ -26,12 +24,6 @@ export class SideMenu extends React.Component<{ menu: MenuStore; className?: str
|
|||
}}
|
||||
>
|
||||
<MenuItems items={store.items} onActivate={this.activate} root={true} />
|
||||
<RedocAttribution>
|
||||
<a target="_blank" rel="noopener noreferrer" href="https://redocly.com/redoc/">
|
||||
<RedoclyLogo />
|
||||
API docs by Redocly
|
||||
</a>
|
||||
</RedocAttribution>
|
||||
</PerfectScrollbarWrap>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user