File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/app/src/app/components/Preview/DevTools/Console Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ import { listen, dispatch } from 'codesandbox-api';
33import { withTheme } from 'styled-components' ;
44import { debounce } from 'lodash-es' ;
55import update from 'immutability-helper' ;
6+ import styled from 'styled-components' ;
67
7- import ClearIcon from 'react-icons/lib/md/clear-all ' ;
8+ import ClearIcon from 'react-icons/lib/md/block ' ;
89import { Decode , Console as ConsoleFeed } from 'console-feed' ;
910
1011import Select from '@codesandbox/common/lib/components/Select' ;
@@ -24,6 +25,10 @@ export type StyledProps = DevToolProps & {
2425 theme : typeof theme & { light : boolean } ;
2526} ;
2627
28+ const StyledClearIcon = styled ( ClearIcon ) `
29+ font-size: 0.8em;
30+ ` ;
31+
2732class Console extends React . Component < StyledProps > {
2833 state = {
2934 messages : [ ] ,
@@ -283,7 +288,7 @@ export default {
283288 onClick : ( ) => {
284289 dispatch ( { type : 'clear-console' } ) ;
285290 } ,
286- Icon : ClearIcon ,
291+ Icon : StyledClearIcon ,
287292 } ,
288293 {
289294 title : 'Search' ,
You can’t perform that action at this time.
0 commit comments