Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import { ReactNode } from 'react'

export interface Handle {
  disengage(): void
}

export interface ModalOrganismProps {
  children: ReactNode
  className?: string

  isDefaultFocus?: boolean
  isVisible?: boolean

  /**
   * can also come from commonState eh.console..
   */
  onClose?: () => void
  onOpen?: () => void

  controller?: { [key: string]: any } | string

  // state comes from context...
  // state?:
}

/**
 * @todo add Without<renderProps for renderProps typings
 */
export interface DialogProps {
  renderTrigger: (props: DialogProps) => ReactNode
  renderBox: (props: DialogProps) => ReactNode
  title: string
  isToast?: boolean
  hasClose?: boolean
  onClose: (event?: MouseEvent | KeyboardEvent) => void
}