import { CheckIcon, CrossIcon } from "@/assets/icons";

interface IProps {
  value: boolean;
}

const Boolean = ({ value }: IProps) => {
  return (
    <>
      {value ? (
        <CheckIcon fill="green" width={15} height={15} />
      ) : (
        <CrossIcon width={20} fill="red" />
      )}
    </>
  );
};

export default Boolean;
