import Image from "next/image";
import Col from "react-bootstrap/Col";
import Row from "react-bootstrap/Row";

export default function EdgeItem({
  edge,
  text,
}: {
  edge: string;
  text: string;
}) {
  return (
    <Row>
      <Col xs="auto">
        <Image
          alt=""
          src={`data:image/png;base64,${edge}`}
          width={60}
          height={60}
        />
      </Col>
      <Col xs="auto">{text}</Col>
    </Row>
  );
}
