@@ -102,44 +102,6 @@ import statusSuccessSVG from './assets/icons/icon-success.svg';
102102import statusWarningSVG from './assets/icons/icon-warning.svg' ;
103103import statusErrorSVG from './assets/icons/icon-error.svg' ;
104104import plusSVG from './assets/icons/plus.svg' ;
105- import style from './icon.module.css' ;
106-
107- export const ExpandOpen = ( ) => (
108- < svg
109- className = { style . expandIcon }
110- xmlns = "http://www.w3.org/2000/svg"
111- width = "24"
112- height = "24"
113- viewBox = "0 0 24 24"
114- fill = "none"
115- stroke = "currentColor"
116- strokeWidth = "2"
117- strokeLinecap = "round"
118- strokeLinejoin = "round" >
119- < circle cx = "11" cy = "11" r = "8" > </ circle >
120- < line x1 = "21" y1 = "21" x2 = "16.65" y2 = "16.65" > </ line >
121- < line x1 = "11" y1 = "8" x2 = "11" y2 = "14" > </ line >
122- < line x1 = "8" y1 = "11" x2 = "14" y2 = "11" > </ line >
123- </ svg >
124- ) ;
125-
126- export const ExpandClose = ( ) => (
127- < svg
128- className = { style . expandIcon }
129- xmlns = "http://www.w3.org/2000/svg"
130- width = "24"
131- height = "24"
132- viewBox = "0 0 24 24"
133- fill = "none"
134- stroke = "currentColor"
135- strokeWidth = "2"
136- strokeLinecap = "round"
137- strokeLinejoin = "round" >
138- < circle cx = "11" cy = "11" r = "8" > </ circle >
139- < line x1 = "21" y1 = "21" x2 = "16.65" y2 = "16.65" > </ line >
140- < line x1 = "8" y1 = "11" x2 = "14" y2 = "11" > </ line >
141- </ svg >
142- ) ;
143105
144106type SVGProps = JSX . IntrinsicElements [ 'svg' ] ;
145107
@@ -156,16 +118,6 @@ export const CaretDown = ({ className, ...props }: SVGProps) => (
156118 </ svg >
157119) ;
158120
159- type ExpandIconProps = {
160- expand : boolean ;
161- } ;
162-
163- export const ExpandIcon = ( {
164- expand = true ,
165- } : ExpandIconProps ) => (
166- expand ? < ExpandOpen /> : < ExpandClose />
167- ) ;
168-
169121type ImgProps = JSX . IntrinsicElements [ 'img' ] ;
170122
171123export const Abort = ( props : ImgProps ) => ( < img src = { abortSVG } draggable = { false } { ...props } /> ) ;
0 commit comments