mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2026-01-24 12:34:44 +00:00
23 lines
619 B
TypeScript
23 lines
619 B
TypeScript
import { SVGProps, Ref, forwardRef, memo } from 'react'
|
|
const SvgComponent = (props: SVGProps<SVGSVGElement>, ref: Ref<SVGSVGElement>) => (
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width={20}
|
|
height={20}
|
|
fill="none"
|
|
viewBox="0 0 24 24"
|
|
ref={ref}
|
|
{...props}
|
|
>
|
|
<path
|
|
fill="#fff"
|
|
fillRule="evenodd"
|
|
d="M12 4.5C7 4.5 2.73 7.6 1 12a11.83 11.83 0 0 0 22 0c-1.73-4.39-6-7.5-11-7.5zM12 17a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6z"
|
|
clipRule="evenodd"
|
|
/>
|
|
</svg>
|
|
)
|
|
const ForwardRef = forwardRef(SvgComponent)
|
|
|
|
export default memo(ForwardRef)
|