Skip to content

Commit a4bcd1d

Browse files
committed
feat: add PersonIcon component and index export
Signed-off-by: Amit Amrutiya <amitamrutiya2210@gmail.com>
1 parent 1a72ff7 commit a4bcd1d

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

src/icons/Person/PersonIcon.tsx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
const PersonIcon = ({
2+
width = '24px',
3+
height = '24px',
4+
fill = 'currentColor',
5+
style = {},
6+
onClick = () => {}
7+
}) => (
8+
<svg
9+
style={style}
10+
xmlns="http://www.w3.org/2000/svg"
11+
height={height}
12+
viewBox="0 -960 960 960"
13+
width={width}
14+
fill={fill}
15+
onClick={onClick}
16+
>
17+
<path d="M480-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM160-160v-112q0-34 17.5-62.5T224-378q62-31 126-46.5T480-440q66 0 130 15.5T736-378q29 15 46.5 43.5T800-272v112H160Z" />
18+
</svg>
19+
);
20+
21+
export default PersonIcon;

src/icons/Person/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as PersonIcon } from './PersonIcon';

0 commit comments

Comments
 (0)