Usage

import { Modal } from '@loomhq/lens'
<Modal title="Title>Content</Modal>

With dividers

Custom Modal with ModalCard

With scrollable section

Props

name
type
default
maxWidth
number | string
60
zIndex
number
1000
children
React.ReactNode
isOpen
boolean
mainButton
React.ReactNode
secondaryButton
React.ReactNode
alternativeButton
React.ReactNode
title
React.ReactNode
onCloseClick
React.ReactEventHandler
onBackgroundClick
React.ReactEventHandler
onKeyDown
React.ReactEventHandler
hasDividers
boolean
name
type
default
maxWidth
number | string
60
children
React.ReactNode
onCloseClick
React.ReactEventHandler