-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: "No services found" card (#3891)
- Loading branch information
1 parent
042df8d
commit 9008373
Showing
5 changed files
with
131 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import AddCircleOutlineIcon from "@mui/icons-material/AddCircleOutline"; | ||
import ButtonBase from "@mui/material/ButtonBase"; | ||
import { styled } from "@mui/material/styles"; | ||
import React, { } from "react"; | ||
import { FONT_WEIGHT_SEMI_BOLD } from "theme"; | ||
|
||
const AddButtonRoot = styled(ButtonBase)(({ theme }) => ({ | ||
fontSize: 20, | ||
display: "flex", | ||
alignItems: "center", | ||
textAlign: "left", | ||
color: theme.palette.primary.main, | ||
fontWeight: FONT_WEIGHT_SEMI_BOLD, | ||
})); | ||
|
||
export function AddButton({ | ||
children, | ||
onClick, | ||
}: { | ||
children: string; | ||
onClick: () => void; | ||
}): FCReturn { | ||
return ( | ||
<AddButtonRoot onClick={onClick}> | ||
<AddCircleOutlineIcon sx={{ mr: 1 }} /> {children} | ||
</AddButtonRoot> | ||
); | ||
} |