import React, { memo } from "react";
import { NotesIcon } from "Assets/svgs";

const NoteCell = memo(({ value, showNote }) => (
  <button
    onClick={() => showNote(value)}
    type="button"
    className="flex items-center gap-2 "
  >
    <NotesIcon className="h-[1.0313rem] w-[1.0313rem]" />
    View
  </button>
));

export default NoteCell;
