{icon && }
- {svgIcon}
{messageDecorators}
@@ -71,7 +69,6 @@ Panel.propTypes = {
messageDecorators: PropTypes.node,
onToggleClick: PropTypes.func,
path: PropTypes.string.isRequired,
- svgIcon: PropTypes.node,
title: PropTypes.message.isRequired,
toggleOptions: PropTypes.arrayOf(PropTypes.shape({})),
}
diff --git a/pkg/webui/components/panel/panel.styl b/pkg/webui/components/panel/panel.styl
index c17ba0176d..bc4a1b0154 100644
--- a/pkg/webui/components/panel/panel.styl
+++ b/pkg/webui/components/panel/panel.styl
@@ -26,14 +26,6 @@
font-size: $fsv2.l
line-height: 1
- svg
- width: 21px
- height: 21px
- background-color: var(--c-bg-brand-extralight)
- padding: $cs.xs
- border-radius: $br.l
- color: var(--c-bg-brand-normal)
-
a.button
font-weight: $fwv2.semibold
text-decoration: none transparent
@@ -52,7 +44,7 @@
margin-bottom: $cs.l
height: 0px
-span.panel-header-icon
+.panel-header-icon
font-size: 1.5rem
background-color: var(--c-bg-brand-extralight)
padding: $cs.xs
diff --git a/pkg/webui/components/panel/story.js b/pkg/webui/components/panel/story.js
index d7091e02da..48769dc8b1 100644
--- a/pkg/webui/components/panel/story.js
+++ b/pkg/webui/components/panel/story.js
@@ -16,8 +16,6 @@ import React from 'react'
import loginVisual from '@assets/img/layout/bg/login-visual.jpg'
-import StarIcon from '@ttn-lw/components/star-icon'
-
import NewsItem from '../news-panel/news-item'
import Panel from '.'
@@ -73,7 +71,7 @@ export const WithToggle = () => {
return (
- } toggleOptions={options} />
+
)
}