import * as React from "react"; // for JSX rendering import HeadingDataInterface from "../Interfaces/HeadingDataInterface"; import HeadingModalOptionsInterface from '../Interfaces/HeadingModalOptionsInterface' export default (data: HeadingDataInterface, options: HeadingModalOptionsInterface) => { const bootstrapVersion = parseInt(($.fn as any).modal.Constructor.VERSION); const closeButton = const modalTitle =

{options.title}

return (
{ bootstrapVersion == 3 ? closeButton : modalTitle} { bootstrapVersion == 3 ? modalTitle : closeButton}
:
:

:
{/* messages will be added here */}
) }