diff --git a/src/components/Svg/types.ts b/src/components/Svg/types.ts index 02137053..e6b7cabe 100644 --- a/src/components/Svg/types.ts +++ b/src/components/Svg/types.ts @@ -1,3 +1,6 @@ +import { SVGAttributes } from "react"; +import { DefaultTheme } from "styled-components"; +import { SpaceProps } from "styled-system"; import { colorProps } from "../../theme/Apeswap/types"; export enum icons { @@ -77,6 +80,11 @@ export enum directions { export type iconTypes = `${icons}`; type directionTypes = `${directions}`; +export interface LegacySvgProps extends SVGAttributes, SpaceProps { + theme?: DefaultTheme; + spin?: boolean; + bgColor?: string; +} export interface SvgProps { icon?: iconTypes; direction?: directionTypes;