Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

98
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda