JSPM

@instructure/ui-modal

8.46.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9741
  • Score
    100M100P100Q131243F
  • License MIT

A component for displaying content in a dialog overlay

Package Exports

  • @instructure/ui-modal
  • @instructure/ui-modal/es/index.js
  • @instructure/ui-modal/lib/Modal
  • @instructure/ui-modal/lib/Modal/index.js
  • @instructure/ui-modal/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-modal) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


category: packages

ui-modal

npm  MIT License  Code of Conduct

A component for displaying content in a dialog overlay.

Components

The ui-modal package contains the following:

Installation

npm install @instructure/ui-modal

Usage

import React from 'react'
import { Modal } from '@instructure/ui-modal'

const MyModal = () => {
  return (
    <Modal>
      <Modal.Header>My Modal</Modal.Header>
      <Modal.Body>Hello world</Modal.Body>
    </Modal>
  )
}

For detailed usage and documentation, see Modal examples.