Newer
Older
taehui / qwilight-fe / src / app / [language] / etc / components / EdgeItem.tsx
@Taehui Taehui on 6 Apr 446 bytes 2024-04-07 오전 8:25
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>
  );
}