-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3826 from ivanko22/replaceSearchBox
[WV-192] replace SearchBar to SearchBar2024 accross webapp
- Loading branch information
Showing
14 changed files
with
106 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
import PropTypes from 'prop-types'; | ||
import colors from '../../common/components/Style/Colors'; | ||
|
||
class NoSearchResult extends React.Component { | ||
render () { | ||
return ( | ||
<NoSearchResultWrapper> | ||
{this.props.title} | ||
<p> | ||
{this.props.subtitle} | ||
</p> | ||
</NoSearchResultWrapper> | ||
); | ||
} | ||
} | ||
|
||
const NoSearchResultWrapper = styled.div` | ||
margin-top: 70px; | ||
color: ${colors.darkGrey}; | ||
text-align: center; | ||
font-size: 22px; | ||
font-weight: 600; | ||
line-height: normal; | ||
p{ | ||
margin-top: 10px; | ||
color: ${colors.darkGrey}; | ||
text-align: center; | ||
font-size: 16px; | ||
font-weight: 400; | ||
line-height: normal; | ||
} | ||
`; | ||
|
||
NoSearchResult.propTypes = { | ||
title: PropTypes.string, | ||
subtitle: PropTypes.string, | ||
}; | ||
|
||
export default NoSearchResult; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.