add User, LogIn, LogOut icons
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
type iconselection =
|
type iconselection =
|
||||||
| "Menu"
|
| "Menu"
|
||||||
|
| "User"
|
||||||
| "Users"
|
| "Users"
|
||||||
|
| "LogIn"
|
||||||
|
| "LogOut"
|
||||||
| "Link2"
|
| "Link2"
|
||||||
| "ExternalLink"
|
| "ExternalLink"
|
||||||
| "Code"
|
| "Code"
|
||||||
@@ -42,6 +45,25 @@ const Icon = ({ icon, width, height, ...props }: iconprops) => {
|
|||||||
<line x1="3" y1="18" x2="21" y2="18" />
|
<line x1="3" y1="18" x2="21" y2="18" />
|
||||||
</svg>
|
</svg>
|
||||||
);
|
);
|
||||||
|
case "User":
|
||||||
|
return (
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width={width || 24}
|
||||||
|
height={height || 24}
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
strokeWidth="2"
|
||||||
|
strokeLinecap="round"
|
||||||
|
strokeLinejoin="round"
|
||||||
|
className="feather feather-user"
|
||||||
|
{...props}
|
||||||
|
>
|
||||||
|
<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" />
|
||||||
|
<circle cx="12" cy="7" r="4" />
|
||||||
|
</svg>
|
||||||
|
);
|
||||||
case "Users":
|
case "Users":
|
||||||
return (
|
return (
|
||||||
<svg
|
<svg
|
||||||
@@ -63,6 +85,46 @@ const Icon = ({ icon, width, height, ...props }: iconprops) => {
|
|||||||
<path d="M16 3.13a4 4 0 0 1 0 7.75" />
|
<path d="M16 3.13a4 4 0 0 1 0 7.75" />
|
||||||
</svg>
|
</svg>
|
||||||
);
|
);
|
||||||
|
case "LogIn":
|
||||||
|
return (
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width={width || 24}
|
||||||
|
height={height || 24}
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
strokeWidth="2"
|
||||||
|
strokeLinecap="round"
|
||||||
|
strokeLinejoin="round"
|
||||||
|
className="feather feather-log-in"
|
||||||
|
{...props}
|
||||||
|
>
|
||||||
|
<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" />
|
||||||
|
<polyline points="10 17 15 12 10 7" />
|
||||||
|
<line x1="15" y1="12" x2="3" y2="12" />
|
||||||
|
</svg>
|
||||||
|
);
|
||||||
|
case "LogOut":
|
||||||
|
return (
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width={width || 24}
|
||||||
|
height={height || 24}
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
strokeWidth="2"
|
||||||
|
strokeLinecap="round"
|
||||||
|
strokeLinejoin="round"
|
||||||
|
className="feather feather-log-out"
|
||||||
|
{...props}
|
||||||
|
>
|
||||||
|
<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" />
|
||||||
|
<polyline points="16 17 21 12 16 7" />
|
||||||
|
<line x1="21" y1="12" x2="9" y2="12" />
|
||||||
|
</svg>
|
||||||
|
);
|
||||||
case "Link2":
|
case "Link2":
|
||||||
return (
|
return (
|
||||||
<svg
|
<svg
|
||||||
|
|||||||
Reference in New Issue
Block a user