import './infobox.scss';
import {createElement} from "../../_global/scripts/helpers";

export const createInfobox =
  ({
    type = 'regular',
    content = '<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>',
  }) => {
    const infobox = createElement('div', ['infobox', type], content);
    return infobox;
  }