bitburner-src/utils/ui/DialogBox.tsx

11 lines
258 B
TypeScript
Raw Normal View History

2021-03-16 10:42:12 +01:00
import * as React from "react";
export function DialogBox(content: HTMLElement): React.ReactElement {
2021-09-05 01:09:30 +02:00
return (
<div className="dialog-box-content text">
<span className="dialog-box-close-button ">&times;</span>
{content}
</div>
);
2021-03-16 10:42:12 +01:00
}