import React, { ForwardedRef, useContext } from 'react';
import { OriginIconProps } from '../type';
import { Context } from '../context';

function IconCalendarUnCheckBoxComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
    const { prefix: prefixFromContext } = useContext(Context);
    const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = false, spin, ...rest } = props;

    const prefix = prefixFromProps || prefixFromContext || 'hkgai';
    const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
    return <svg className={`${prefix}-icon ${prefix}-icon-CalendarUnCheckBox${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 24 23" fill="none" xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fill={useCurrentColor ? 'currentColor' : '#fff'} d="M0 0H24V24H0z"/></svg>;
}

const IconCalendarUnCheckBox = React.forwardRef(IconCalendarUnCheckBoxComponent);
export default IconCalendarUnCheckBox;
