0.0.7 • Published 2 years ago

react-image-area-selector v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

React Image Area Selector

이미지의 특정 영역을 드래그하여 선택하고 조작합니다.

프로젝트 진행 후기

목차

배포 주소

실행 방법

  1. 원격 저장소를 로컬 저장소로 복사합니다.

    $ git clone https://github.com/Pre-Onboarding-FE-Team07/wanted-codestates-project-7-5-2.git
  2. 프로젝트 의존 모듈을 설치합니다.

    $ yarn
  3. 개발 서버를 시작합니다.

    $ yarn start:dev

NPM 설치 방법

React, ReactDOM(>=17.0.0)을 필요로 합니다.

  • npm
    $ npm i react-image-area-selector
  • yarn
    $ yarn add react-image-area-selector

사용 방법

PropDescription
src이미지의 주소
width이미지의 너비
height이미지의 높이
const source = '...';
ReactDOM.render(<ImageAreaSelector src={source} width={500} />, document.getElementById('root'));
0.0.5

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago