본문 바로가기 메뉴 바로가기

해나래

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

해나래

검색하기 폼
  • 분류 전체보기 (123)
    • Web (5)
      • ASP.NET Core (5)
      • React (11)
      • Vue (3)
      • TypeScript (6)
      • JavaScript (2)
    • Mobile (4)
      • Xamarin (9)
      • iOS (4)
      • Android (8)
      • Flutter (10)
    • Windows App (4)
    • AI (1)
    • Graphics (1)
    • DB (5)
    • OS (12)
    • Developers (1)
    • Others (18)
    • Xamarin.Forms Book (11)
      • 요약 (11)
      • 기타 (0)
    • 생활정보 (3)
  • 방명록

AntDesign (1)
반응형
[React] AntDesign Modal을 Draggable로 만들기

AntDesign에서 Modal을 Draggable로 만들기 위해서는 react-draggable 모듈을 사용하면 간단히 구현이 가능합니다. react-draggable 모듈을 설치합니다. > npm install react-draggable AntDesign의 Modal과 Draggable을 조합하여 모달을 구성합니다. import { Button, Modal } from 'antd'; import React, { useRef, useState } from 'react'; import Draggable from 'react-draggable'; const ModalSample: React.FC = () => { const draggleRef = useRef(null); const [visible, se..

Web/React 2022. 7. 18. 23:37
반응형
이전 1 다음
이전 다음
최근에 올라온 글
최근에 달린 댓글
TAG
  • Xamarin.iOS
  • Xamarin.Forms
  • Xamarin.Forms 요약
  • Xamarin.Forms eBook
  • material-ui
  • Xamarin
  • windows
  • flutter
  • ios
  • React
  • MS SQL
  • Vue
  • VisualStudio
  • .NET Standard
  • WPF
  • ASP.NET Core
  • linux
  • npm
  • TypeScript
  • Android
more
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바