Skip to content

Commit c00408e

Browse files
author
Lizzie Lerwill
committed
feat: added pin icon and hailing icon
1 parent 2759e81 commit c00408e

File tree

5 files changed

+62
-0
lines changed

5 files changed

+62
-0
lines changed
Lines changed: 3 additions & 0 deletions
Loading

assets/icons/experimental/pin.svg

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 HailingIcon: 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 24 24"
17+
fill="none"
18+
xmlns="http://www.w3.org/2000/svg"
19+
>
20+
<path
21+
d="M16.8 10.4A2.992 2.992 0 0018 8V6a1 1 0 112 0v2a4.987 4.987 0 01-2.047 4.035l-.353.265a4 4 0 00-1.6 3.2V20a2 2 0 01-2 2v-6.5c0-.875.19-1.726.546-2.5H8a2 2 0 00-2 2v5h8v2H6a2 2 0 01-2-2v-5a4 4 0 014-4h7c.663 0 1.276-.215 1.772-.58l.028-.02zM11 10a4 4 0 110-8 4 4 0 010 8zm0-2a2 2 0 100-4 2 2 0 000 4z"
22+
fill="currentColor"
23+
/>
24+
</svg>
25+
);
26+
};
27+
export default HailingIcon;

src/icons/experimental/PinIcon.tsx

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 PinIcon: 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 24 24"
17+
fill="none"
18+
xmlns="http://www.w3.org/2000/svg"
19+
>
20+
<path
21+
d="M12 19.956c2.033-1.932 3.542-3.687 4.525-5.265.983-1.579 1.475-2.98 1.475-4.205 0-1.88-.58-3.42-1.738-4.618C15.104 4.67 13.683 4.07 12 4.07c-1.683 0-3.104.6-4.263 1.798C6.58 7.067 6 8.606 6 10.486c0 1.225.492 2.627 1.475 4.205.983 1.578 2.492 3.333 4.525 5.265zM12 22c-.233 0-.467-.043-.7-.13a1.828 1.828 0 01-.625-.387A39.853 39.853 0 017.8 18.455a22.39 22.39 0 01-2.087-2.859c-.559-.922-.984-1.81-1.276-2.665C4.146 12.078 4 11.263 4 10.486c0-2.587.804-4.648 2.412-6.183C8.021 2.768 9.883 2 12 2s3.98.768 5.587 2.303C19.197 5.838 20 7.899 20 10.486c0 .777-.146 1.592-.438 2.445-.291.854-.716 1.743-1.274 2.665a22.39 22.39 0 01-2.088 2.86 39.853 39.853 0 01-2.875 3.027 1.828 1.828 0 01-.625.388c-.233.086-.467.129-.7.129zm0-9.65c.55 0 1.02-.203 1.412-.609.392-.405.588-.892.588-1.462 0-.569-.196-1.056-.588-1.461A1.894 1.894 0 0012 8.21c-.55 0-1.02.202-1.412.608A2.028 2.028 0 0010 10.279c0 .57.196 1.057.588 1.462.391.406.862.608 1.412.608z"
22+
fill="currentColor"
23+
/>
24+
</svg>
25+
);
26+
};
27+
export default PinIcon;

src/icons/experimental/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ export { default as ExitIcon } from './ExitIcon';
1414
export { default as GroupIcon } from './GroupIcon';
1515
export { default as TrashIcon } from './TrashIcon';
1616
export { default as EditPenIcon } from './EditPenIcon';
17+
export { default as HailingIcon } from './HailingIcon';
18+
export { default as PinIcon } from './PinIcon';

0 commit comments

Comments
 (0)