mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2025-12-16 12:33:18 +00:00
chore: lint with tabwidth: 2
This commit is contained in:
@@ -1,21 +1,23 @@
|
||||
import { SVGProps, Ref, forwardRef, memo } from "react"
|
||||
const SvgComponent = (
|
||||
props: SVGProps<SVGSVGElement>,
|
||||
ref: Ref<SVGSVGElement>
|
||||
) => (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width={24}
|
||||
height={24}
|
||||
fill="none"
|
||||
ref={ref}
|
||||
{...props}
|
||||
>
|
||||
<g fill="#000" clipPath="url(#a)">
|
||||
<path d="M7 6a1 1 0 0 0 0-2H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h2a1 1 0 0 0 0-2H6V6h1Zm13.82 5.42-2.82-4a1 1 0 1 0-1.63 1.16L18.09 11H10a1 1 0 0 0 0 2h8l-1.8 2.4a1 1 0 0 0 1.6 1.2l3-4a1 1 0 0 0 .02-1.18Z" />
|
||||
</g>
|
||||
</svg>
|
||||
import { Ref, SVGProps, forwardRef, memo } from 'react'
|
||||
const SvgComponent = (props: SVGProps<SVGSVGElement>, ref: Ref<SVGSVGElement>) => (
|
||||
<svg
|
||||
fill={'none'}
|
||||
height={24}
|
||||
ref={ref}
|
||||
width={24}
|
||||
xmlns={'http://www.w3.org/2000/svg'}
|
||||
{...props}
|
||||
>
|
||||
<g clipPath={'url(#a)'} fill={'#000'}>
|
||||
<path
|
||||
d={
|
||||
'M7 6a1 1 0 0 0 0-2H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h2a1 1 0 0 0 0-2H6V6h1Zm13.82 5.42-2.82-4a1 1 0 1 0-1.63 1.16L18.09 11H10a1 1 0 0 0 0 2h8l-1.8 2.4a1 1 0 0 0 1.6 1.2l3-4a1 1 0 0 0 .02-1.18Z'
|
||||
}
|
||||
/>
|
||||
</g>
|
||||
</svg>
|
||||
)
|
||||
const ForwardRef = forwardRef(SvgComponent)
|
||||
const Memo = memo(ForwardRef)
|
||||
|
||||
export default Memo
|
||||
|
||||
Reference in New Issue
Block a user