mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
20 lines
452 B
TypeScript
20 lines
452 B
TypeScript
import type {AlertProps} from 'sentry/components/alert';
|
|
import {Alert} from 'sentry/components/alert';
|
|
import {t} from 'sentry/locale';
|
|
|
|
type Props = {
|
|
type?: AlertProps['type'];
|
|
};
|
|
|
|
function PreviewFeature({type = 'info'}: Props) {
|
|
return (
|
|
<Alert type={type} showIcon>
|
|
{t(
|
|
'This feature is a preview and may change in the future. Thanks for being an early adopter!'
|
|
)}
|
|
</Alert>
|
|
);
|
|
}
|
|
|
|
export default PreviewFeature;
|