12345678910111213141516171819 |
- import * as React from 'react';
- import Alert from 'app/components/alert';
- import {IconLab} from 'app/icons';
- import {t} from 'app/locale';
- type Props = {
- type?: React.ComponentProps<typeof Alert>['type'];
- };
- const PreviewFeature = ({type = 'info'}: Props) => (
- <Alert type={type} icon={<IconLab size="sm" />}>
- {t(
- 'This feature is a preview and may change in the future. Thanks for being an early adopter!'
- )}
- </Alert>
- );
- export default PreviewFeature;
|