Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5e3858c

Browse files
committed
add a beta badge to the preset input
1 parent ec44f06 commit 5e3858c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

site/src/pages/CreateWorkspacePage/CreateWorkspacePageView.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ import type {
4444
} from "./CreateWorkspacePage";
4545
import { ExternalAuthButton } from "./ExternalAuthButton";
4646
import type { CreateWSPermissions } from "./permissions";
47+
import { FeatureStageBadge } from "components/FeatureStageBadge/FeatureStageBadge";
4748

4849
export const Language = {
4950
duplicationWarning:
@@ -274,9 +275,15 @@ export const CreateWorkspacePageView: FC<CreateWorkspacePageViewProps> = ({
274275

275276
{presets.length > 0 && (
276277
<Stack direction="column" spacing={2}>
277-
<span css={styles.description}>
278-
Select a preset to get started
279-
</span>
278+
<Stack direction="row" spacing={2} alignItems="center">
279+
<span css={styles.description}>
280+
Select a preset to get started
281+
</span>
282+
<FeatureStageBadge
283+
contentType={"beta"}
284+
size="md"
285+
/>
286+
</Stack>
280287
<Stack direction="row" spacing={2}>
281288
<SelectFilter
282289
label="Preset"

0 commit comments

Comments
 (0)