refactor[loadingComponent]: Move type LoadingComponentProps to types directorie

This commit is contained in:
Igor Carvalho 2023-07-19 17:14:17 -03:00
commit 67be60c937
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,4 @@
type LoadingComponentProps = {
remSize: number;
};
import { LoadingComponentProps } from "../../types/components";
export default function LoadingComponent({ remSize }: LoadingComponentProps) {
return (

View file

@ -191,3 +191,7 @@ export type TooltipProps = {
children: React.ReactNode;
delayShow?: number;
};
export type LoadingComponentProps = {
remSize: number;
};