15 lines
274 B
JavaScript
15 lines
274 B
JavaScript
import createOverlay from './createOverlay';
|
|
import Dialog from '../components/layout/Dialog';
|
|
import React from 'react';
|
|
|
|
export default function(title, content, buttons) {
|
|
createOverlay(
|
|
<Dialog
|
|
title={title}
|
|
buttons={buttons}
|
|
>
|
|
{content}
|
|
</Dialog>
|
|
);
|
|
}
|