UNPKG

@department-of-veterans-affairs/mobile-component-library

Version:
11 lines (10 loc) 401 B
/** Prevents TypeScript from complaining about importing .svg files directly and * tells TypeScript which props .svg's can accept * See: https://github.com/kristerkari/react-native-svg-transformer?tab=readme-ov-file#using-typescript */ declare module '*.svg' { import { SvgProps } from 'react-native-svg' import React from 'react' const content: React.FC<SvgProps> export default content }