Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

89
Views
I am trying to create a bottom sheet for my react project using Swipe able Bottom but I am stuck and confuse since I am new to react

here In my home component I have my sheet title stated down which I exported and I am using Swipe able Bottom Sheet to create a bottom sheet

import React from 'react'
import BottomSheet from '../components/Bottom Sheet';


 const HOME = () => {
  return (
    <div>
        <BottomSheet
         sheet Title="start room"
        />

    </div>
  )
}

export default HOME 

Importing it in this component, I am trying to set my full Screen by using my props to get access to sheet title and set a conditional of true or false statement like this

import React from 'react'
import SwipeableBottomSheet from "react-swipeable-bottom-sheet"

const BottomSheet = (props) => {
  return (
    <div> 

        <SwipeableBottomSheet
               FullScreen={props.sheetTitle == 'room detail' ? true : false}>

            </SwipeableBottomSheet> 

         </div>
  )
}
export default BottomSheet

This is the error that I am getting TypeError: Cannot assign to read only property 'name' of object '#object

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!