@@ -10,11 +10,18 @@ import { PlotsSizeContext } from './PlotsSizeContext'
1010import { PlotsPicker , PlotsPickerProps } from './PlotsPicker'
1111import { SizePicker } from './SizePicker'
1212import styles from './styles.module.scss'
13- import { AllIcons , Icon } from '../../shared/components/Icon'
13+ import { Icon } from '../../shared/components/Icon'
1414import { IconMenu } from '../../shared/components/iconMenu/IconMenu'
1515import { IconMenuItemProps } from '../../shared/components/iconMenu/IconMenuItem'
1616import { sendMessage } from '../../shared/vscode'
1717import Tooltip from '../../shared/components/tooltip/Tooltip'
18+ import {
19+ ChevronDown ,
20+ ChevronRight ,
21+ Dots ,
22+ Info ,
23+ Lines
24+ } from '../../shared/components/icons'
1825
1926export interface PlotsContainerProps {
2027 sectionCollapsed : SectionCollapsed
@@ -43,12 +50,7 @@ export const SectionDescription = {
4350}
4451
4552const InfoIcon = ( ) => (
46- < Icon
47- icon = { AllIcons . INFO }
48- width = { 16 }
49- height = { 16 }
50- className = { styles . infoIcon }
51- />
53+ < Icon icon = { Info } width = { 16 } height = { 16 } className = { styles . infoIcon } />
5254)
5355
5456export const PlotsContainer : React . FC < PlotsContainerProps > = ( {
@@ -86,7 +88,7 @@ export const PlotsContainer: React.FC<PlotsContainerProps> = ({
8688 }
8789 const menuItems : IconMenuItemProps [ ] = [
8890 {
89- icon : AllIcons . DOTS ,
91+ icon : Dots ,
9092 onClickNode : (
9193 < SizePicker currentSize = { size } setSelectedSize = { changeSize } />
9294 ) ,
@@ -96,7 +98,7 @@ export const PlotsContainer: React.FC<PlotsContainerProps> = ({
9698
9799 if ( menu ) {
98100 menuItems . unshift ( {
99- icon : AllIcons . LINES ,
101+ icon : Lines ,
100102 onClickNode : < PlotsPicker { ...menu } /> ,
101103 tooltip : 'Select Plots'
102104 } )
@@ -124,7 +126,7 @@ export const PlotsContainer: React.FC<PlotsContainerProps> = ({
124126 } }
125127 >
126128 < Icon
127- icon = { open ? AllIcons . CHEVRON_DOWN : AllIcons . CHEVRON_RIGHT }
129+ icon = { open ? ChevronDown : ChevronRight }
128130 data-testid = "plots-container-details-chevron"
129131 width = { 20 }
130132 height = { 20 }
0 commit comments