refactor[loadingComponent]: Move type LoadingComponentProps to types directorie
This commit is contained in:
parent
83772eeefd
commit
67be60c937
2 changed files with 5 additions and 3 deletions
|
|
@ -1,6 +1,4 @@
|
||||||
type LoadingComponentProps = {
|
import { LoadingComponentProps } from "../../types/components";
|
||||||
remSize: number;
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function LoadingComponent({ remSize }: LoadingComponentProps) {
|
export default function LoadingComponent({ remSize }: LoadingComponentProps) {
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
|
|
@ -191,3 +191,7 @@ export type TooltipProps = {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
delayShow?: number;
|
delayShow?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type LoadingComponentProps = {
|
||||||
|
remSize: number;
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue