mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 19:53:48 +01:00
9 lines
256 B
TypeScript
9 lines
256 B
TypeScript
|
import * as React from "react";
|
||
|
|
||
|
export function DialogBox(content: HTMLElement): React.ReactElement {
|
||
|
return (<div className="dialog-box-content text">
|
||
|
<span className="dialog-box-close-button ">×</span>
|
||
|
{content}
|
||
|
</div>);
|
||
|
}
|