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