Files
mtdb_movie/common/resources/client/billing/upgrade/feature-locked-dialog.tsx
T
maher 511fad8199
Build / run (push) Has been cancelled
Initial commit
2026-05-14 13:42:10 +02:00

26 lines
596 B
TypeScript
Executable File

import {Trans} from '@common/i18n/trans';
import {ReactNode} from 'react';
import {UpgradeDialog} from '@common/billing/upgrade/upgrade-dialog';
interface FeatureLockedDialogProps {
message?: ReactNode;
messageSuffix?: ReactNode;
}
export function FeatureLockedDialog({
message,
messageSuffix,
}: FeatureLockedDialogProps) {
return (
<UpgradeDialog
message={message}
messageSuffix={
messageSuffix === undefined ? (
<Trans message="Upgrade to unlock this feature and many more." />
) : (
messageSuffix
)
}
/>
);
}