Skip to content

Commit d3af850

Browse files
committed
Add sweep icon
1 parent e2e0e57 commit d3af850

File tree

4 files changed

+44
-0
lines changed

4 files changed

+44
-0
lines changed

src/iconList.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ export const iconList = [
153153
'WrenchIcon',
154154
'EllipsisIcon',
155155
'WandIcon',
156+
'SweepIcon',
156157
'CheckIcon',
157158
'FormIcon',
158159
'BatchDenyIcon',

src/icons/SweepIcon.stories.ts

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import type { Meta, StoryObj } from '@storybook/react';
2+
3+
import { SweepIcon } from './SweepIcon';
4+
5+
const meta: Meta<typeof SweepIcon> = {
6+
component: SweepIcon,
7+
};
8+
9+
export default meta;
10+
type Story = StoryObj<typeof SweepIcon>;
11+
12+
export const Default: Story = { args: { size: 100 } };

src/icons/SweepIcon.tsx

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import * as React from 'react';
2+
import { IconProps } from '../types';
3+
4+
export const SweepIcon = /* @__PURE__ */ React.forwardRef<
5+
SVGSVGElement,
6+
IconProps
7+
>(({ color = 'currentColor', size = 14, ...props }, forwardedRef) => {
8+
return (
9+
<svg
10+
width={size}
11+
height={size}
12+
viewBox="0 0 14 14"
13+
fill="none"
14+
xmlns="http://www.w3.org/2000/svg"
15+
ref={forwardedRef}
16+
{...props}
17+
>
18+
<path
19+
fillRule="evenodd"
20+
clipRule="evenodd"
21+
d="M9.621 3.914l.379.379 3.146-3.147a.5.5 0 01.708.708L10.707 5l.379.379a3 3 0 010 4.242l-.707.707-.005.005-.008.008-.012.013-1.733 1.732a3 3 0 01-4.242 0L.146 7.854a.5.5 0 01.708-.707.915.915 0 001.292 0L4.64 4.654a.52.52 0 01.007-.008l.733-.732a3 3 0 014.242 0zm-4.26 1.432l.139-.139 3.146 3.147a.5.5 0 10.708-.707L6.212 4.505a2 2 0 012.702.116l.731.731.001.002h.002l.73.732a2 2 0 010 2.828l-.706.707-.012.013a.503.503 0 00-.014.013l-1.732 1.732a2 2 0 01-2.828 0L3.354 9.647a2.489 2.489 0 001.414-.708l1.086-1.085a.5.5 0 10-.708-.707L4.061 8.232a1.5 1.5 0 01-2.01.102c.294-.088.57-.248.803-.48l2.5-2.5a.475.475 0 00.007-.008z"
22+
fill={color}
23+
/>
24+
<path
25+
d="M2 5.004a1 1 0 11-2 0 1 1 0 012 0zM4 3.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"
26+
fill={color}
27+
/>
28+
</svg>
29+
);
30+
});

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export { NutIcon } from './icons/NutIcon';
116116
export { WrenchIcon } from './icons/WrenchIcon';
117117
export { EllipsisIcon } from './icons/EllipsisIcon';
118118
export { WandIcon } from './icons/WandIcon';
119+
export { SweepIcon } from './icons/SweepIcon';
119120
export { CheckIcon } from './icons/CheckIcon';
120121
export { FormIcon } from './icons/FormIcon';
121122
export { BatchDenyIcon } from './icons/BatchDenyIcon';

0 commit comments

Comments
 (0)