Files
optolith-client/js/utils/reactAlert.js
T
Lukas Obermann e1927227bf Changed data objects to ES6 classes
Additionally changed folder structure to components and views
2016-11-14 00:18:09 +01:00

15 lines
267 B
JavaScript

import createOverlay from './createOverlay';
import Dialog from '../components/Dialog';
import React from 'react';
export default function(title, content, buttons) {
createOverlay(
<Dialog
title={title}
buttons={buttons}
>
{content}
</Dialog>
);
}