Track HiveGrid Cloud planning reference
This commit is contained in:
1 parent
b3d5ea6764
commit
e341c5938a
5784 files changed
+1104929
-3
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import * as React from "react"
|
||||
|
||||
import { SkeletonText as SubframeSkeletonText } from "~/ui/components/SkeletonText"
|
||||
|
||||
// Subframe migration (strangler shim):
|
||||
// Keeps the original shadcn generic `Skeleton` API (a class-sized animated box) but renders
|
||||
// the Subframe design-system `SkeletonText` behind it. Callers size the skeleton entirely via
|
||||
// `className`, which is forwarded unchanged, so arbitrary shapes/sizes keep working. The public
|
||||
// API (single `Skeleton` export taking native div props + className) is unchanged.
|
||||
function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
|
||||
return <SubframeSkeletonText className={className} {...props} />
|
||||
}
|
||||
|
||||
export { Skeleton }
|
||||
Reference in new issue
Block a user