npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

soosoo-react-payments-components

v0.0.1

Published

react-payments components

Readme

컴포넌트

모달 컴포넌트

  • [x] 모달 컴포넌트를 npm으로 배포하고 사용할 수 있어야 한다.

  • [x] 피그마 시안 예시처럼 모바일에서 사용 가능한 모달 컴포넌트를 만들어야 한다.

  • [x] 모달 위치 및 내용 구성 옵션을 prop으로 전달받아 유연하게 모달을 구성할 수 있어야 한다.

    • position: bottom | center 입력 값에 따라 모달 중앙, 하단 배치
    • title: 모달 제목 설정
    • children: 하위 요소 전달
    • isOpen: true | false에 따라 모달 렌더링
    • onClose: 모달 닫기 함수 전달
    • closeButton : 모달 닫기 버튼 설정
    • confirmButton : 모달 확인 버튼 설정
    • cancelButton : 모달 취소 버튼 설정
  • [x] 사용자 정의 이벤트 핸들러를 지원해야 한다.

    • [x] 모달 닫기 이벤트 핸들러 구현
  • ModalHeader

    • props
      • title : 모달 제목 표시
        • position : left | center 입력 값에 따라 모달 제목 좌측, 중앙 배치
        • content : 모달 제목 내용
      • closeButton : 모달에 닫기 버튼을 표시하고, 닫기 버튼을 클릭했을 때 실행될 함수를 설정
        • onClose : 닫기 버튼을 클릭하면 onClose 함수 실행
  • ModalContent

    • props
      • children : 모달 내용을 구성하는 하위 요소
  • ModalFooter

    • props
      • confirmButton : 모달에 확인 버튼을 표시하고, 확인 버튼을 클릭했을 때 실행될 함수를 설정
        • content : 확인 버튼의 텍스트 내용
        • onConfirm : 사용자가 확인 버튼을 클릭하면 onConfirm 함수 실행
      • cancelButton : 모달에 취소 버튼을 표시하고, 취소 버튼을 클릭했을 때 실행될 함수를 설정
        • content : 취소 버튼의 텍스트 내용
        • onCancel : 사용자가 취소 버튼을 클릭하면 onCancel 함수 실행