ObjectModal

A beautiful, centered, medium modal with all you need to structure its content.

Usage

import ObjectModal from 'components/ObjectModal/ObjectModal.js';
<ObjectModal
  title={
    <ObjectModalTitle>
      My awesome title !
    </ObjectModalTitle>
  }
  onClose={() => myComponent.closeSomething()}
  disabled
  footer={
    <Button>
      Definitly not usefull
    </Button>
  }
>
  <FirstChild />
  <span>Some text</span>
</ObjectModal>

Props

Preview

Last updated