• This project
    • Loading...
  • Sign in

2021-1-capstone-design1 / GCL_Project1

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • GCL_Project1
  • frontend
  • src
  • components
  • document
  • Thumbnail.js
  • 이승윤's avatar
    feat: mock data 기준 templist 추가 · 74e36e62
    74e36e62
    이승윤 authored 2021-06-12 16:41:23 +0900
Thumbnail.js 517 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
import { Image, Text } from '@mantine/core';
import React from 'react';

const Thumbnails = ({ srcs }) => {
  return (
    <>
      <Text style={{ marginTop: '1rem' }}>문서 내 이미지</Text>
      <div style={{ display: 'flex', justifyContent: 'space-between' }}>
        {srcs.map(src => (
          <Image
            width={200}
            height={250}
            radius="md"
            src={src}
            withPlaceholder
          />
        ))}
      </div>
    </>
  );
};
export default Thumbnails;