module.exports = (items) => {
return `
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sample</title>
</head>
<body>
<table>
<tr>
// dynamic render
</tr>
</table>
</body>
</html>`
}
I want to render a dynamic array like items in the //dynamic render section how can I add it there ?