Skip to content

Commit 3ae00d0

Browse files
authored
Merge pull request #563 from sudhanshutech/add/few/icon
add few icons
2 parents 254dd8b + 9bc3250 commit 3ae00d0

File tree

8 files changed

+95
-0
lines changed

8 files changed

+95
-0
lines changed

src/icons/Done/DoneAllIcon.tsx

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const DoneAllIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
...props
8+
}: IconProps): JSX.Element => {
9+
return (
10+
<svg
11+
xmlns="http://www.w3.org/2000/svg"
12+
viewBox="0 -960 960 960"
13+
width={width}
14+
height={height}
15+
{...props}
16+
>
17+
<path d="M268-240 42-466l57-56 170 170 56 56-57 56Zm226 0L268-466l56-57 170 170 368-368 56 57-424 424Zm0-226-57-56 198-198 57 56-198 198Z" />
18+
</svg>
19+
);
20+
};
21+
22+
export default DoneAllIcon;

src/icons/Done/DoneIcon.tsx

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const DoneIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
...props
8+
}: IconProps): JSX.Element => {
9+
return (
10+
<svg
11+
xmlns="http://www.w3.org/2000/svg"
12+
viewBox="0 -960 960 960"
13+
width={width}
14+
height={height}
15+
{...props}
16+
>
17+
<path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z" />
18+
</svg>
19+
);
20+
};
21+
22+
export default DoneIcon;

src/icons/Done/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { default as DoneAllIcon } from './DoneAllIcon';
2+
export { default as DoneIcon } from './DoneIcon';

src/icons/Edit/EditIcon.tsx

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const EditIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
...props
8+
}: IconProps): JSX.Element => {
9+
return (
10+
<svg
11+
xmlns="http://www.w3.org/2000/svg"
12+
viewBox="0 -960 960 960"
13+
width={width}
14+
height={height}
15+
{...props}
16+
>
17+
<path d="M200-200h57l391-391-57-57-391 391v57Zm-80 80v-170l528-527q12-11 26.5-17t30.5-6q16 0 31 6t26 18l55 56q12 11 17.5 26t5.5 30q0 16-5.5 30.5T817-647L290-120H120Zm640-584-56-56 56 56Zm-141 85-28-29 57 57-29-28Z" />
18+
</svg>
19+
);
20+
};
21+
22+
export default EditIcon;

src/icons/Edit/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as EditIcon } from './EditIcon';

src/icons/Publish/PublishIcon.tsx

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const PublishIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
...props
8+
}: IconProps): JSX.Element => {
9+
return (
10+
<svg
11+
xmlns="http://www.w3.org/2000/svg"
12+
viewBox="0 -960 960 960"
13+
width={width}
14+
height={height}
15+
{...props}
16+
>
17+
<path d="M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm-40-82v-78q-33 0-56.5-23.5T360-320v-40L168-552q-3 18-5.5 36t-2.5 36q0 121 79.5 212T440-162Zm276-102q20-22 36-47.5t26.5-53q10.5-27.5 16-56.5t5.5-59q0-98-54.5-179T600-776v16q0 33-23.5 56.5T520-680h-80v80q0 17-11.5 28.5T400-560h-80v80h240q17 0 28.5 11.5T600-440v120h40q26 0 47 15.5t29 40.5Z" />
18+
</svg>
19+
);
20+
};
21+
22+
export default PublishIcon;

src/icons/Publish/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as PublishIcon } from './PublishIcon';

src/icons/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ export * from './Mesh';
3737
// export { default as ModifiedApplicationFileIcon } from "./ModifiedApplicationFileIcon";
3838
// export { default as OriginalApplicationFileIcon } from "./OriginalApplicationFileIcon";
3939
export * from './Calender';
40+
export * from './Done';
41+
export * from './Edit';
4042
export * from './Environment';
4143
export * from './ExternalLink';
4244
export * from './Feedback';
@@ -48,6 +50,7 @@ export * from './LeftArrow';
4850
export * from './PanTool';
4951
export * from './Pattern';
5052
export * from './Pod';
53+
export * from './Publish';
5154
export * from './Question';
5255
export * from './Read';
5356
export * from './Rectangle';

0 commit comments

Comments
 (0)