Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

91
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda