mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2025-12-16 20:59:27 +00:00
28 lines
698 B
TypeScript
28 lines
698 B
TypeScript
import { SVGProps, Ref, forwardRef, memo } from 'react'
|
|
const SvgComponent = (props: SVGProps<SVGSVGElement>, ref: Ref<SVGSVGElement>) => (
|
|
<svg
|
|
width="16"
|
|
height="16"
|
|
viewBox="0 0 16 16"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
ref={ref}
|
|
{...props}
|
|
>
|
|
<g clipPath="url(#clip0_5928_3055)">
|
|
<path
|
|
d="M10.2733 11.06L7.21998 8L10.2733 4.94L9.33331 4L5.33331 8L9.33331 12L10.2733 11.06Z"
|
|
fill="white"
|
|
/>
|
|
</g>
|
|
<defs>
|
|
<clipPath id="clip0_5928_3055">
|
|
<rect width="16" height="16" fill="white" />
|
|
</clipPath>
|
|
</defs>
|
|
</svg>
|
|
)
|
|
const ForwardRef = forwardRef(SvgComponent)
|
|
|
|
export default memo(ForwardRef)
|