Skip to content

Commit c0a751b

Browse files
author
Lizzie Lerwill
committed
feat: add edit pen icon
1 parent 57b2f4e commit c0a751b

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// DO NOT EDIT. This file was generated by running `npm run generate`.;
2+
import * as React from 'react';
3+
import { get } from '../../utils/themeGet';
4+
import { IconProps } from '../IconProps';
5+
type Props = IconProps;
6+
const EditPenIcon: React.FC<Props> = ({ size = 'medium', color = 'inherit', ...rest }) => {
7+
const props = { ...rest, color };
8+
const sizePx = Number.isFinite(size as number)
9+
? size
10+
: get(`iconSizes.${size}`)(props) || get('iconSizes.medium')(props);
11+
return (
12+
<svg
13+
{...props}
14+
width={sizePx}
15+
height={sizePx}
16+
viewBox="0 0 18 18"
17+
fill="none"
18+
xmlns="http://www.w3.org/2000/svg"
19+
>
20+
<path
21+
d="M1.895 16.105h1.35L13.453 5.897l-1.35-1.35L1.895 14.755v1.35zM.947 18a.917.917 0 01-.675-.272.916.916 0 01-.272-.675v-2.298a1.87 1.87 0 01.545-1.326L13.453.545c.19-.174.398-.308.627-.403A1.87 1.87 0 0114.803 0c.252 0 .497.047.734.142.237.095.442.237.616.426l1.302 1.327c.19.173.328.379.415.616a2.05 2.05 0 010 1.432 1.775 1.775 0 01-.415.628L4.571 17.455A1.871 1.871 0 013.245 18H.947zM12.766 5.234l-.663-.687 1.35 1.35-.687-.663z"
22+
fill="currentColor"
23+
/>
24+
</svg>
25+
);
26+
};
27+
export default EditPenIcon;

src/icons/experimental/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ export { default as SupportAgentIcon } from './SupportAgentIcon';
1313
export { default as ExitIcon } from './ExitIcon';
1414
export { default as GroupIcon } from './GroupIcon';
1515
export { default as TrashIcon } from './TrashIcon';
16+
export { default as EditPenIcon } from './EditPenIcon';

0 commit comments

Comments
 (0)