chore: remove deprecated code, Meta & MetaProvider (#19407)
* chore: remove deprecated code Meta, MetaProvider * fix type checks
This commit is contained in:
1 parent
829bb63eb9
commit
c2be796a5b
13 files changed
+14
-169
No files matched your search
@@ -1,21 +1,10 @@
|
||||
import { ShellSubHeading } from "../layout";
|
||||
import Meta from "../meta/Meta";
|
||||
import { SkeletonText } from "../skeleton";
|
||||
|
||||
export function SkeletonLoader({
|
||||
className,
|
||||
title,
|
||||
description,
|
||||
}: {
|
||||
className?: string;
|
||||
title?: string;
|
||||
description?: string;
|
||||
}) {
|
||||
export function SkeletonLoader({ className }: { className?: string }) {
|
||||
return (
|
||||
<>
|
||||
<ShellSubHeading title={<div className="bg-subtle h-6 w-32" />} {...{ className }} />
|
||||
{title && description && <Meta title={title} description={description} />}
|
||||
|
||||
<ul className="bg-default border-subtle divide-subtle -mx-4 animate-pulse divide-y rounded-md border sm:mx-0 sm:overflow-hidden">
|
||||
<SkeletonItem />
|
||||
<SkeletonItem />
|
||||
|
||||
Reference in new issue
Block a user