mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-22 17:23:22 +01:00
11 lines
263 B
TypeScript
11 lines
263 B
TypeScript
import { SVGProps, forwardRef } from 'react'
|
|
|
|
const SvgrMock = forwardRef<SVGSVGElement, SVGProps<SVGSVGElement>>(
|
|
(props, ref) => <svg ref={ref} {...props} />
|
|
)
|
|
|
|
SvgrMock.displayName = 'SvgrMock'
|
|
|
|
export const ReactComponent = SvgrMock
|
|
export default SvgrMock
|