param { Object } breakpoints returns { Object } export const makeMq = ( breakpoints ) => { const mq = { } ; Object . keys ( breakpoints ) . forEach ( key => { mq [ key ] = `@media (min-width: ${ breakpoints [ key ] }px)` ; } ) ; return mq ; } ;