mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-23 01:29:41 +01:00
11 lines
268 B
TypeScript
11 lines
268 B
TypeScript
import { type 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
|