We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21d2590 commit 1ec1c77Copy full SHA for 1ec1c77
packages/compass-assistant/src/compass-assistant-drawer.tsx
@@ -1,9 +1,12 @@
1
import React, { useCallback, useContext } from 'react';
2
import {
3
+ Badge,
4
+ css,
5
DrawerSection,
6
Icon,
7
IconButton,
8
showConfirmation,
9
+ spacing,
10
} from '@mongodb-js/compass-components';
11
import { AssistantChat } from './assistant-chat';
12
@@ -60,7 +63,10 @@ export const CompassAssistantDrawer: React.FunctionComponent<{
60
63
justifyContent: 'space-between',
61
64
}}
62
65
>
- <span>MongoDB Assistant</span>
66
+ <div>
67
+ <span style={{ marginRight: spacing[200] }}>MongoDB Assistant</span>
68
+ <Badge variant="blue">Preview</Badge>
69
+ </div>
70
<IconButton
71
aria-label="Clear chat"
72
onClick={() => {
0 commit comments