Advertisement
arch-toto

error react-bootstrap tab

Sep 19th, 2022
1,231
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   return (
  2.  
  3.     <Container>
  4.       <Row className="justify-contente-center">
  5.         {
  6.           !MOSTRAR_SOLAPA_SEGUIMIENTO
  7.             ?
  8.             <ConsultaLoteTemplate
  9.               setEstadoLote={setEstadoLote}
  10.             />
  11.             :
  12.             <Tabs
  13.               variant="pills"
  14.               activeKey={key}
  15.               onSelect={(k:any) => setKey(k)}
  16.               id="fill-tab-example"
  17.               className="mb-2"
  18.               //@ts-ignore
  19.               fill
  20.             >
  21.               <Tab eventKey={1} title="Armado de Lote">
  22.                 <ConsultaLoteTemplate
  23.                   setEstadoLote={setEstadoLote}
  24.                 />
  25.               </Tab>
  26.               <Tab eventKey={2} title="Seguimiento de Lote">
  27.                 <SeguimientoDeLoteTemplate />
  28.               </Tab>
  29.             </Tabs>
  30.         }
  31.       </Row>
  32.     </Container>
  33.   )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement