react-svg 17.0.1 → 17.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -140,7 +140,7 @@ Example output, assuming a `div` wrapper:
140
140
 
141
141
  See:
142
142
 
143
- - [Integrating with Other Libraries](https://reactjs.org/docs/integrating-with-other-libraries.html).
143
+ - [Integrating with Other Libraries](https://legacy.reactjs.org/docs/integrating-with-other-libraries.html).
144
144
 
145
145
  Related issues and PRs:
146
146
 
package/dist/types.d.ts CHANGED
@@ -18,7 +18,7 @@ interface BaseProps {
18
18
  type HTMLWrapperType = HTMLSpanElement | HTMLDivElement;
19
19
  type SVGWrapperType = SVGSVGElement;
20
20
  export type WrapperType = HTMLWrapperType | SVGWrapperType;
21
- export type Props = BaseProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLWrapperType>, HTMLWrapperType>, 'ref'> & Omit<React.SVGProps<SVGWrapperType>, 'ref'>;
21
+ export type Props = BaseProps & React.HTMLAttributes<HTMLWrapperType> & React.SVGAttributes<SVGWrapperType>;
22
22
  export interface State {
23
23
  hasError: boolean;
24
24
  isLoading: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-svg",
3
- "version": "17.0.1",
3
+ "version": "17.0.2",
4
4
  "description": "A React component that injects SVG into the DOM.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/react-svg.esm.js",