mirror of
https://github.com/lux-tel/websites.git
synced 2026-10-30 20:31:36 +00:00
19 lines
1.1 KiB
TypeScript
19 lines
1.1 KiB
TypeScript
import { type ReactNode, forwardRef } from 'react';
|
|
import { cn } from '../lib/utils';
|
|
import type { SVGAttributes } from './types';
|
|
|
|
type HumanIconAttributes = SVGAttributes & {
|
|
full?: boolean;
|
|
};
|
|
|
|
export const HumanIcon = forwardRef<SVGSVGElement, HumanIconAttributes>(
|
|
({ full, ...props }, ref) => (
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 21 23" {...props} ref={ref}>
|
|
<path d="M3.05 22.25h14.62c2.02 0 3-.63 3-2 0-3.21-4.02-7.52-10.3-7.52-6.3 0-10.3 4.3-10.3 7.51 0 1.38.97 2.01 2.98 2.01Zm-.38-2.02c-.27 0-.39-.09-.39-.3 0-1.8 2.9-5.18 8.09-5.18 5.17 0 8.07 3.38 8.07 5.18 0 .21-.1.3-.38.3H2.67Zm7.7-8.87c2.83 0 5.13-2.5 5.13-5.57 0-3.02-2.3-5.42-5.13-5.42C7.55.37 5.24 2.8 5.24 5.8c.01 3.06 2.3 5.55 5.13 5.55Zm0-2.02c-1.62 0-3-1.53-3-3.53 0-1.94 1.36-3.42 3-3.42s3 1.46 3 3.4c0 2-1.37 3.55-3 3.55Z" />
|
|
{full ? (
|
|
<path d="M2.17 21.55h15.59c1.32 0 2.1-.62 2.1-1.66 0-3.01-3.82-7.16-9.9-7.16-6.07 0-9.9 4.15-9.9 7.16 0 1.04.79 1.66 2.1 1.66Zm7.8-10.9c2.55 0 4.73-2.27 4.73-5.2 0-2.89-2.18-5.08-4.73-5.08-2.55 0-4.73 2.23-4.73 5.1 0 2.9 2.17 5.18 4.73 5.18Z" />
|
|
) : null}
|
|
</svg>
|
|
)
|
|
);
|