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 +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
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 &
|
|
21
|
+
export type Props = BaseProps & React.HTMLAttributes<HTMLWrapperType> & React.SVGAttributes<SVGWrapperType>;
|
|
22
22
|
export interface State {
|
|
23
23
|
hasError: boolean;
|
|
24
24
|
isLoading: boolean;
|