/**
*
* @param {string} msg to display
* @param {number} height of placeholder
* @return {string}
*/
const placeholder = ( msg, height ) => {
return `
${msg}
`;
};
/**
*
* @param {string} story to describe.
* @param {string} annotation to annotate story with.
* @param {number} height of placeholder
* @return {string}
*/
const withAnnotation = ( story, annotation, height ) => {
const node = document.createElement( 'div' );
node.innerHTML = placeholder( annotation, height ) + story;
return node.outerHTML;
};
export { placeholder, withAnnotation };