fix bug on infinity icon

This commit is contained in:
anovazzi1 2023-09-14 21:17:23 -03:00
commit 9647fe0b69
3 changed files with 606 additions and 547 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,4 @@
import { Infinity } from "lucide-react"; import { InfinityIcon } from "lucide-react";
import { forwardRef } from "react"; import { forwardRef } from "react";
const GradientSparkles = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>( const GradientSparkles = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
@ -13,7 +13,7 @@ const GradientSparkles = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
</linearGradient> </linearGradient>
</defs> </defs>
</svg> </svg>
<Infinity stroke="url(#grad1)" ref={ref} {...props} /> <InfinityIcon stroke="url(#grad1)" ref={ref} {...props} />
</> </>
); );
} }

View file

@ -425,6 +425,7 @@ export type codeAreaModalPropsType = {
setNodeClass: (Class: APIClassType) => void | undefined; setNodeClass: (Class: APIClassType) => void | undefined;
children: ReactNode; children: ReactNode;
dynamic?: boolean; dynamic?: boolean;
readonly?: boolean;
}; };
export type chatMessagePropsType = { export type chatMessagePropsType = {
@ -449,6 +450,7 @@ export type genericModalPropsType = {
nodeClass?: APIClassType; nodeClass?: APIClassType;
setNodeClass?: (Class: APIClassType) => void; setNodeClass?: (Class: APIClassType) => void;
children: ReactNode; children: ReactNode;
readonly?: boolean;
}; };
export type buttonBoxPropsType = { export type buttonBoxPropsType = {