How to use react link to pass a props or object

  const details =;

    <Link to='/destination'><Button  className={styles.bookingButton}>Booking</Button></Link>

I want to send the details object to the destination. How can I do that and how can I print those data in the destination component. I have tried the location solve, but did not work for me.