-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show icon in tests list for bandit tests
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
public/src/components/channelManagement/testListBanditIcon.tsx
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,23 @@ | ||
import React from 'react'; | ||
import { makeStyles } from '@mui/styles'; | ||
import SmartToyIcon from '@mui/icons-material/SmartToy'; | ||
|
||
const useStyles = makeStyles(() => ({ | ||
container: { | ||
padding: '1px', | ||
background: '#FFC107', | ||
borderRadius: '2px', | ||
lineHeight: 0, | ||
}, | ||
})); | ||
|
||
const TestListBanditIcon = (): JSX.Element => { | ||
const classes = useStyles(); | ||
return ( | ||
<div className={classes.container}> | ||
<SmartToyIcon sx={{ fontSize: 16 }} /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default TestListBanditIcon; |
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