mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: update create template button styling (#16701)
resolves #16697 Fix styling of create template button for non-premium users to match new template button for premium users. ## Previous behavior With premium license  Without license 
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import AddIcon from "@mui/icons-material/AddOutlined";
|
||||
import Inventory2 from "@mui/icons-material/Inventory2";
|
||||
import NoteAddOutlined from "@mui/icons-material/NoteAddOutlined";
|
||||
import UploadOutlined from "@mui/icons-material/UploadOutlined";
|
||||
import Button from "@mui/material/Button";
|
||||
import { Button } from "components/Button/Button";
|
||||
import {
|
||||
MoreMenu,
|
||||
MoreMenuContent,
|
||||
MoreMenuItem,
|
||||
MoreMenuTrigger,
|
||||
} from "components/MoreMenu/MoreMenu";
|
||||
import { PlusIcon } from "lucide-react";
|
||||
import type { FC } from "react";
|
||||
|
||||
type CreateTemplateButtonProps = {
|
||||
@@ -21,8 +21,9 @@ export const CreateTemplateButton: FC<CreateTemplateButtonProps> = ({
|
||||
return (
|
||||
<MoreMenu>
|
||||
<MoreMenuTrigger>
|
||||
<Button startIcon={<AddIcon />} variant="contained">
|
||||
Create Template
|
||||
<Button>
|
||||
<PlusIcon />
|
||||
Create template
|
||||
</Button>
|
||||
</MoreMenuTrigger>
|
||||
<MoreMenuContent>
|
||||
|
||||
Reference in New Issue
Block a user