Fix linting

pull/1979/head
Johan Girod 2022-11-01 10:44:30 +01:00
parent 0af7102ca0
commit d507a2eb9a
3 changed files with 19 additions and 3 deletions

View File

@ -33,7 +33,10 @@ const SearchInputContainer = styled(StyledInputContainer)`
`
const IconContainer = styled.div<{ hasLabel?: boolean }>`
padding: calc(${({ hasLabel = false }) => (hasLabel ? '1rem' : '0rem')} + 0.5rem) 0 0.5rem;
padding: calc(
${({ hasLabel = false }) => (hasLabel ? '1rem' : '0rem')} + 0.5rem
)
0 0.5rem;
`
export default function SearchField(

View File

@ -17,7 +17,12 @@ export function Loader() {
</defs>
<g fill="none" fillRule="evenodd">
<g transform="translate(1 1)">
<path d="M36 18c0-9.94-8.06-18-18-18" id="Oval-2" stroke="url(#a)" strokeWidth={2}>
<path
d="M36 18c0-9.94-8.06-18-18-18"
id="Oval-2"
stroke="url(#a)"
strokeWidth={2}
>
<animateTransform
attributeName="transform"
type="rotate"

View File

@ -1,6 +1,14 @@
export function SearchIcon({ ...props }) {
return (
<svg width={24} height={24} fill="white" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden {...props}>
<svg
width={24}
height={24}
fill="white"
xmlns="http://www.w3.org/2000/svg"
role="img"
aria-hidden
{...props}
>
<path
fillRule="evenodd"
clipRule="evenodd"