@coop/component-backdrop

1.0.4 • Public • Published

DEPRECATED - Coop Backdrop

React component

Backdrop component to use behind modals, overlays and widgets etc. Control the visibility state with prop visible.

  import Backdrop from '@coop/component-backdrop'
  import '@coop/component-backdrop/styles.css'

  <Backdrop visible={true} onClose={() => {}} zIndex={1000} />

Props

Property PropType Required Default Value
visible boolean true false
onClose function false -
zIndex number true 100000

Part of Coop Trolley

/@coop/component-backdrop/

    Package Sidebar

    Install

    npm i @coop/component-backdrop

    Weekly Downloads

    1

    Version

    1.0.4

    License

    ISC

    Unpacked Size

    14.2 kB

    Total Files

    7

    Last publish

    Collaborators

    • theiscoop