@bnnvara/modal

Modal window for the BNNVARA design system

Usage no npm install needed!

<script type="module">
  import bnnvaraModal from 'https://cdn.skypack.dev/@bnnvara/modal';
</script>

README

Modal window

This component can render a modal window

Installation

npm install @bnnvara/modal --save

Basic Usage

import the Modal component from '@bnnvara/modal';

HTML Structure

<Modal />

Props

<Modal open /> triggers the modal in open state