import { useTheme } from 'hooks';
import React from 'react';
import Svg, { SvgProps, Path } from 'react-native-svg';

export const Knowledge: React.FC<SvgProps> = (props) => {
  const { theme } = useTheme();
  return (
    <Svg width="18" height="18" viewBox="0 0 18 18" fill="none" {...props}>
      <Path
        d="M17.6754 6.2403L9.23793 2.3028C9.16343 2.26802 9.08221 2.25 8.99999 2.25C8.91777 2.25 8.83655 2.26802 8.76205 2.3028L0.324559 6.2403C0.227612 6.28559 0.145596 6.3576 0.0881349 6.44787C0.030674 6.53814 0.000152588 6.64292 0.000152588 6.74993C0.000152588 6.85693 0.030674 6.96172 0.0881349 7.05199C0.145596 7.14225 0.227612 7.21426 0.324559 7.25955L3.37499 8.68324V12.9374C3.37499 14.5411 5.79374 15.7499 8.99999 15.7499C12.2062 15.7499 14.625 14.5411 14.625 12.9374V8.68324L15.75 8.15786V11.2499C15.75 11.3991 15.8092 11.5422 15.9147 11.6477C16.0202 11.7532 16.1633 11.8124 16.3125 11.8124C16.4617 11.8124 16.6047 11.7532 16.7102 11.6477C16.8157 11.5422 16.875 11.3991 16.875 11.2499V7.63305L17.6754 7.25955C17.7724 7.21426 17.8544 7.14225 17.9118 7.05199C17.9693 6.96172 17.9998 6.85693 17.9998 6.74993C17.9998 6.64292 17.9693 6.53814 17.9118 6.44787C17.8544 6.3576 17.7724 6.28559 17.6754 6.2403ZM13.5 12.9374C13.5 13.6259 11.7472 14.6249 8.99999 14.6249C6.25274 14.6249 4.49999 13.6259 4.49999 12.9374V9.20805L8.76205 11.1971C8.83655 11.2318 8.91777 11.2499 8.99999 11.2499C9.08221 11.2499 9.16343 11.2318 9.23793 11.1971L12.0504 9.88418C12.1833 9.81965 12.2854 9.70547 12.3348 9.56628C12.3842 9.42709 12.3768 9.27406 12.3144 9.14023C12.2519 9.00641 12.1393 8.90253 12.0009 8.85102C11.8624 8.79951 11.7093 8.80451 11.5746 8.86493L8.99999 10.0687L1.89225 6.74993L8.99999 3.43118L16.1072 6.74993L13.8245 7.8153C13.7187 7.8654 13.6313 7.9476 13.5749 8.0502C13.5184 8.15279 13.4958 8.27058 13.5101 8.3868C13.5059 8.40349 13.5025 8.42039 13.5 8.43743V9.20801V12.9374Z"
        fill={theme.colors.body}
      />
      <Path
        d="M12.3348 9.56628C12.2854 9.70547 12.1833 9.81965 12.0504 9.88418L13.5 9.20801V8.43743C13.5025 8.42039 13.5059 8.40349 13.5101 8.3868C13.4958 8.27058 13.5184 8.15279 13.5749 8.0502C13.6313 7.9476 13.7187 7.8654 13.8245 7.8153L11.5746 8.86493C11.7093 8.80451 11.8624 8.79951 12.0009 8.85102C12.1393 8.90253 12.2519 9.00641 12.3144 9.14023C12.3768 9.27406 12.3842 9.42709 12.3348 9.56628Z"
        fill={theme.colors.body}
      />
    </Svg>
  );
};
