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

seeen-react-payments-modal

v2.0.6

Published

우아한테크코스 리액트 페이먼츠 모달 배포 요구사항

Readme

seeen-react-payments-modal

TypeScript를 지원하는 BottomSheet 모달 라이브러리입니다.

설치 방법

npm install seeen-react-payments-modal
yarn add seeen-react-payments-modal

사용 방법

import Modal from 'seeen-react-payments-modal';
<Modal isModalOpen={/* boolean 타입의 모달 오픈 여부 값 */} closeModal={/* ()=>void 타입의 모달 닫기 메서드 */}>
  { /* children */ }
</Modal>

Props

children

  • React Node 타입의 필수 값입니다.
  • 모달 내부에 들어갈 JSX 입니다.

isModalOpen

  • boolean 타입의 필수 값입니다. 기본 값은 false 입니다.
  • 모달을 띄울지 말지를 결정하는 값입니다.

closeModal

  • ()=>void 타입의 필수 값입니다.
  • 모달을 닫는 역할의 함수이며 isModalOpen을 false로 변경하는 로직이 있어야 정상동작합니다.

position

  • 'center' | 'bottom' 타입의 선택 값입니다.
  • 모달을 띄울 위치를 선택할 수 있습니다. center는 화면 중앙에, bottom은 화면 아래에 띄웁니다.

width, height

  • string 타입의 선택 값입니다. 기본 값은 220px 입니다.
  • 모달의 가로 및 세로 크기를 조절합니다.

사용 예시

import Modal from 'seeen-react-payments-modal';

const [isModalOpen, setIsModalOpen] = useState(true);

const handleCloseModal () => {
  setIsModalOpen(false);
}

return (
  <Modal isModalOpen={isModalOpen} closeModal={handleCloseModal} position="bottom" width="100%">
    <h2>이 곳에 내용을 작성하세요.</h2>
  </Modal>
);