mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore: improve React import reference consistency (#18608)
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import React, { SVGProps } from 'react';
|
||||
import React, { SVGProps, forwardRef } from 'react';
|
||||
|
||||
const SvgrMock = React.forwardRef<SVGSVGElement, SVGProps<SVGSVGElement>>(
|
||||
const SvgrMock = forwardRef<SVGSVGElement, SVGProps<SVGSVGElement>>(
|
||||
(props, ref) => <svg ref={ref} {...props} />,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user