[WIP] Updated react-syntax-highlighter. Added loading state to docs. Replaced search placeholder text.

This commit is contained in:
Piotr Janosz
2019-07-09 17:04:23 +02:00
committed by fabioberger
parent db062154d1
commit a12dc5c81b
6 changed files with 44 additions and 37 deletions

View File

@@ -63,7 +63,7 @@ const LabelText = styled.span`
`;
const Input = styled.input.attrs({
placeholder: 'Search docs...',
placeholder: 'Search docs',
})<ISearchInputProps>`
background: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' fill-opacity='.01' d='M0 0h24v24H0z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5 10.5a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0zM10.5 3a7.5 7.5 0 1 0 4.55 13.463l4.743 4.744 1.414-1.414-4.744-4.744A7.5 7.5 0 0 0 10.5 3z' fill='%235C5C5C'/%3E%3C/svg%3E")
transparent left center no-repeat;