refactoring: renamed a component
This commit is contained in:
@@ -15,18 +15,9 @@ export interface MonthCardSkeletonProps {
|
|||||||
export const MonthCardSkeleton: React.FC<MonthCardSkeletonProps> = ({checked=false}) =>
|
export const MonthCardSkeleton: React.FC<MonthCardSkeletonProps> = ({checked=false}) =>
|
||||||
<div className={`skeleton collapse collapse-plus bg-base-200 my-1`}>
|
<div className={`skeleton collapse collapse-plus bg-base-200 my-1`}>
|
||||||
<input type="checkbox" name="my-accordion-3" checked={checked} disabled />
|
<input type="checkbox" name="my-accordion-3" checked={checked} disabled />
|
||||||
<div className="collapse-title text-xl font-medium w-[15em]">
|
<div className="text-xl w-[15em]"></div>
|
||||||
</div>
|
|
||||||
<div className="collapse-content">
|
<div className="collapse-content">
|
||||||
<LocationCardSkeleton />
|
<LocationCardSkeleton />
|
||||||
<LocationCardSkeleton />
|
<LocationCardSkeleton />
|
||||||
</div>
|
</div>
|
||||||
</div>;
|
</div>;
|
||||||
|
|
||||||
|
|
||||||
export const HomePageSkeleton: React.FC = () =>
|
|
||||||
<>
|
|
||||||
<MonthCardSkeleton checked={true} />
|
|
||||||
<MonthCardSkeleton />
|
|
||||||
<MonthCardSkeleton />
|
|
||||||
</>;
|
|
||||||
Reference in New Issue
Block a user