JSFiddle - React, Tailwind, and code Playground

by Stefan Zamfira

JavaScript

const x = {
	hasPagination: {
  	next: 'nex',
    prev: 'prev'
  }
}

console.log({...x, {
	...x.hasPagination
}})