   The `title-nodes` can be any inline DOM (or just a string), as can body-nodes.  Action-notes must include at least one button that
   closes the modal or redirects the user."
   (om/factory Modal))
-
 
 (defui NotificationTitle
   Object

                       (dissoc :color))]
    (apply dom/div (clj->js props) children)))


(defui ModalTitle
  Object
  (render [this]
    (dom/div #js {:className "c-modal__title"} (om/children this))))


(def ui-modal-title
  "Render a notification title. Should only be used in a ui-modal"
  (om/factory ModalTitle))


(defui ModalBody
  Object
  (render [this]
    (dom/div #js {:className "c-modal__content"} (om/children this))))
(def ui-modal-body
  "Render a notification body. Should only be used in a ui-modal"
  (om/factory ModalBody))


(defui ModalActions
  Object
  (render [this]
    (dom/div #js {:className "c-modal__actions"} (om/children this))))


(def ui-modal-actions
  "Render a notification action area. Should only be used in a ui-modal"
  (om/factory ModalActions))


(defui Modal
  Object
  (render [this]

            (when actions actions)))
        (dom/div #js {:className (str "c-backdrop" state)})))))

(def ui-modal
  "Render a modal. Normal HTML/React attributes can be included, and should be a cljs map (not a js object).

