@pismo/bolt-modal

0.0.1-32 • Public • Published

Bolt Modal

Installation

> yarn add @pismo/bolt-modal

Usage

import Modal from '@pismo/bolt-modal'

Props

Prop Type Description Required Default
isOpen bool controls whether it's open or closed on the screen false false
onClose func callback fired if user tried to close modal somehow true
children any anything you want rendered inside true
controlOverflow bool should disable page scrolling when open? false true
closeIcon union custom icon that closes modal on click false 'X'

Package Sidebar

Install

npm i @pismo/bolt-modal

Weekly Downloads

5

Version

0.0.1-32

License

ISC

Last publish

Collaborators

  • carlosreyes
  • svc-npm-p
  • filipe.lyra
  • mounika.nanthabaku
  • danilopismo
  • leticia-cavalcanti
  • fagner.pelicioni
  • mateus_bombassaro
  • nelson.oliveira.p
  • anneke.knox
  • aline.souza
  • caique.constant
  • leandro.almeida.pismo
  • gabriel.miguel
  • clint_roberts
  • rartner-p
  • jonathanleahypi
  • pismojosh
  • fabio-rizzi_pismo
  • raphaelhernandocosta
  • giovanniprosim
  • dandwal
  • henrique.nunes
  • davi.firmino
  • wkerswell-pismo
  • thiagofribeiro
  • vinicius_vieira
  • abraaobueno
  • rodribeze
  • victorwpbastos