Skip to content

Commit 0de3942

Browse files
committed
frontend: cleanup and remove unused icons and css
1 parent 38536a8 commit 0de3942

File tree

2 files changed

+0
-53
lines changed

2 files changed

+0
-53
lines changed

frontends/web/src/components/icon/icon.module.css

Lines changed: 0 additions & 5 deletions
This file was deleted.

frontends/web/src/components/icon/icon.tsx

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -102,44 +102,6 @@ import statusSuccessSVG from './assets/icons/icon-success.svg';
102102
import statusWarningSVG from './assets/icons/icon-warning.svg';
103103
import statusErrorSVG from './assets/icons/icon-error.svg';
104104
import 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

144106
type 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-
169121
type ImgProps = JSX.IntrinsicElements['img'];
170122

171123
export const Abort = (props: ImgProps) => (<img src={abortSVG} draggable={false} {...props} />);

0 commit comments

Comments
 (0)