Utility for Template Grid Areas
npm install --save grid-template-areas-x
// or yarn
yarn add grid-template-areas-x
const x = require("grid-template-areas-x");
const style = `
grid-template-areas: ${x`
'header${2} nav${4}'
'side${4} content${2}'
`};
`;
// Results:
`
grid-template-areas:
'header header nav nav nav nav'
'side side side side content content'
;
`
MIT