diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-01-17 16:55:43 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-01-17 16:55:43 -0600 |
commit | fb334b1b3f6176965e08868530e39cb48d767b3f (patch) | |
tree | 6ae269fe13141dcca6bc899fe0de9c9a8a8223c7 /src/view/lib/icons.tsx | |
parent | 5da45cd8cd9f1b22622b8e6d3f6185f65327bebe (diff) | |
download | voidsky-fb334b1b3f6176965e08868530e39cb48d767b3f.tar.zst |
Add profile menuitem to main menu (close #47)
Diffstat (limited to 'src/view/lib/icons.tsx')
-rw-r--r-- | src/view/lib/icons.tsx | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/view/lib/icons.tsx b/src/view/lib/icons.tsx index f79c8e603..bfcbb26bd 100644 --- a/src/view/lib/icons.tsx +++ b/src/view/lib/icons.tsx @@ -200,6 +200,35 @@ export function CogIcon({ // Copyright (c) 2020 Refactoring UI Inc. // https://github.com/tailwindlabs/heroicons/blob/master/LICENSE +export function UserIcon({ + style, + size, + strokeWidth = 1.5, +}: { + style?: StyleProp<ViewStyle> + size?: string | number + strokeWidth?: number +}) { + return ( + <Svg + fill="none" + viewBox="0 0 24 24" + width={size || 32} + height={size || 32} + strokeWidth={strokeWidth} + stroke="currentColor" + style={style}> + <Path + strokeLinecap="round" + strokeLinejoin="round" + d="M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z" + /> + </Svg> + ) +} + +// Copyright (c) 2020 Refactoring UI Inc. +// https://github.com/tailwindlabs/heroicons/blob/master/LICENSE export function UserGroupIcon({ style, size, |