Files
portfolio/__mocks__/boneyard-js/react.tsx
denshooter 32abc7f3ef
All checks were successful
CI / CD / test-build (push) Successful in 10m13s
CI / CD / deploy-dev (push) Successful in 1m48s
CI / CD / deploy-production (push) Has been skipped
fix: update tests for dk0 logo and boneyard-js mock, add jest moduleNameMapper
2026-04-15 14:37:50 +02:00

6 lines
295 B
TypeScript

import React from "react";
export function Skeleton({ children, loading }: { children: React.ReactNode; loading: boolean; name?: string; animate?: string; transition?: boolean | number }) {
if (loading) return <div data-testid="boneyard-skeleton">Loading...</div>;
return <>{children}</>;
}