import {
    NCoreUIKitTheme
} from "../../../core/hooks";
import {
    type INCoreUIKitIconProps
} from "../../../types";
import {
    Path,
    Svg
} from "react-native-svg";

const SvgChevronRight = ({
    color = "default",
    customColor,
    size = 30,
    ...props
}: INCoreUIKitIconProps) => {
    const {
        colors
    } = NCoreUIKitTheme.useContext();

    const pathScale = 26 / size;

    return <Svg
        height={size}
        width={size}
        fill="none"
        {...props}
    >
        <Path
            stroke={customColor ? customColor : colors.content.icon[color]}
            transform={`scale(${1 / pathScale})`}
            d="m7.5 24 11-11-11-11"
            strokeLinejoin="round"
            strokeLinecap="round"
            strokeWidth={1.55}
        />
    </Svg>;
};
export default SvgChevronRight;
