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 = {
|
||||
remSize: number;
|
||||
};
|
||||
import { LoadingComponentProps } from "../../types/components";
|
||||
|
||||
export default function LoadingComponent({ remSize }: LoadingComponentProps) {
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -191,3 +191,7 @@ export type TooltipProps = {
|
|||
children: React.ReactNode;
|
||||
delayShow?: number;
|
||||
};
|
||||
|
||||
export type LoadingComponentProps = {
|
||||
remSize: number;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue