Skip to content

Commit

Permalink
feat: add PersonIcon component and index export
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Amrutiya <[email protected]>
  • Loading branch information
amitamrutiya committed Nov 5, 2024
1 parent 1a72ff7 commit a4bcd1d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/icons/Person/PersonIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
const PersonIcon = ({
width = '24px',
height = '24px',
fill = 'currentColor',
style = {},
onClick = () => {}
}) => (
<svg
style={style}
xmlns="http://www.w3.org/2000/svg"
height={height}
viewBox="0 -960 960 960"
width={width}
fill={fill}
onClick={onClick}
>
<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" />
</svg>
);

export default PersonIcon;
1 change: 1 addition & 0 deletions src/icons/Person/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as PersonIcon } from './PersonIcon';

0 comments on commit a4bcd1d

Please sign in to comment.