Skip to content

Commit 852e73f

Browse files
authored
feat: add icons (#819)
1 parent 13fb450 commit 852e73f

File tree

4 files changed

+47
-0
lines changed

4 files changed

+47
-0
lines changed

.changeset/funny-ants-dress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Add CubePauseIcon and CubePlayIcon.

src/icons/CubePauseIcon.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { wrapIcon } from './wrap-icon';
2+
3+
export const CubePauseIcon = wrapIcon(
4+
'CubePauseIcon',
5+
<svg
6+
xmlns="http://www.w3.org/2000/svg"
7+
width="24"
8+
height="24"
9+
fill="none"
10+
viewBox="0 0 24 24"
11+
>
12+
<path
13+
stroke="currentColor"
14+
strokeLinecap="round"
15+
strokeLinejoin="round"
16+
strokeWidth="1.5"
17+
d="M21 12.5V7.991a1.98 1.98 0 0 0-1-1.717l-7-4.008a2.02 2.02 0 0 0-2 0L4 6.273c-.619.355-1 1.01-1 1.718v8.018c0 .709.381 1.363 1 1.717l7 4.008c.305.174.65.265 1 .265m0 0c.35 0 .695-.091 1-.265m-1 .265V12m0 0 8.73-5.04M12 12 3.27 6.96M17 17v5m4-5v5"
18+
/>
19+
</svg>,
20+
);

src/icons/CubePlayIcon.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { wrapIcon } from './wrap-icon';
2+
3+
export const CubePlayIcon = wrapIcon(
4+
'CubePlayIcon',
5+
<svg
6+
xmlns="http://www.w3.org/2000/svg"
7+
width="24"
8+
height="24"
9+
fill="none"
10+
viewBox="0 0 24 24"
11+
>
12+
<path
13+
stroke="currentColor"
14+
strokeLinecap="round"
15+
strokeLinejoin="round"
16+
strokeWidth="1.5"
17+
d="M21 13.5V7.991a1.98 1.98 0 0 0-1-1.717l-7-4.008a2.02 2.02 0 0 0-2 0L4 6.273c-.619.355-1 1.01-1 1.718v8.018c0 .709.381 1.363 1 1.717l7 4.008c.305.174.65.265 1 .265m0 0c.35 0 .695-.091 1-.265m-1 .265V12m0 0 8.73-5.04M12 12 3.27 6.96M17 16v6l5-3z"
18+
/>
19+
</svg>,
20+
);

src/icons/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ export { CodeIcon } from './CodeIcon';
4242
export { CopyIcon } from './CopyIcon';
4343
export { CountIcon } from './CountIcon';
4444
export { CubeIcon } from './CubeIcon';
45+
export { CubePauseIcon } from './CubePauseIcon';
46+
export { CubePlayIcon } from './CubePlayIcon';
4547
export { CurrencyDollarIcon } from './CurrencyDollarIcon';
4648
export { DangerIcon } from './DangerIcon';
4749
export { DashboardIcon } from './DashboardIcon';

0 commit comments

Comments
 (0)