generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add PersonIcon component and index export
Signed-off-by: Amit Amrutiya <[email protected]>
- Loading branch information
1 parent
1a72ff7
commit a4bcd1d
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as PersonIcon } from './PersonIcon'; |