26 lines
555 B
TypeScript
26 lines
555 B
TypeScript
import React from 'react';
|
|
|
|
interface IconKeyProps {
|
|
className?: string;
|
|
fill?: boolean;
|
|
}
|
|
|
|
const IconKey: React.FC<IconKeyProps> = ({ className = 'w-5 h-5', fill = false }) => (
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
fill={fill ? 'currentColor' : 'none'}
|
|
viewBox="0 0 24 24"
|
|
stroke="currentColor"
|
|
strokeWidth={2}
|
|
className={className}
|
|
>
|
|
<path
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
d="M15 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0zM19 11l-5 5m0 0v4h4l5-5-4-4z"
|
|
/>
|
|
</svg>
|
|
);
|
|
|
|
export default IconKey;
|