Frontend security / security (push) Successful in 9s
Frontend verify / verify (push) Failing after 37m50s
Frontend security / security (pull_request) Successful in 9s
Frontend verify / verify (pull_request) Failing after 42m10s
Conventional commits / commits (pull_request) Successful in 29s
Enable every plugin recommended preset and replace Biome with ESLint formatting. Preserve API contracts and JSX whitespace; verify source, tests, builds and tooling.
20 lines
402 B
TypeScript
20 lines
402 B
TypeScript
import type { FC, PropsWithChildren } from "react";
|
|
|
|
import { Stack } from "@mantine/core";
|
|
|
|
type LoadingSkeletonProps = PropsWithChildren<{
|
|
label: string;
|
|
}>;
|
|
|
|
const LoadingSkeleton: FC<LoadingSkeletonProps> = (props) => {
|
|
const { children, label } = props;
|
|
|
|
return (
|
|
<Stack aria-busy="true" aria-label={label} gap="md" role="status">
|
|
{children}
|
|
</Stack>
|
|
);
|
|
};
|
|
|
|
export { LoadingSkeleton };
|