MCPcopy Create free account
hub / github.com/code100x/cms / CardBody

Function CardBody

src/components/3dcard.tsx:81–98  ·  view source on GitHub ↗
({
  children,
  className,
}: {
  children: React.ReactNode;
  className?: string;
})

Source from the content-addressed store, hash-verified

79};
80
81export const CardBody = ({
82 children,
83 className,
84}: {
85 children: React.ReactNode;
86 className?: string;
87}) => {
88 return (
89 <div
90 className={cn(
91 'h-96 w-96 [transform-style:preserve-3d] [&>*]:[transform-style:preserve-3d]',
92 className,
93 )}
94 >
95 {children}
96 </div>
97 );
98};
99
100export const CardItem = ({
101 children,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected