Files
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01:00

18 lines
554 B
TypeScript
Executable File

import {ProgressCircle} from '@common/ui/progress/progress-circle';
import {Trans} from '@common/i18n/trans';
import {ReactNode} from 'react';
interface DomainProgressIndicatorProps {
message?: ReactNode;
}
export function DomainProgressIndicator({
message = <Trans message="Checking DNS configuration..." />,
}: DomainProgressIndicatorProps) {
return (
<div className="flex items-center gap-18 text-base p-12 rounded bg-primary/10 text-primary">
<ProgressCircle isIndeterminate size="sm" />
<div>{message}</div>
</div>
);
}