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

317
Vistas
How to enabling Tool tips or my react library?

My Project: A React JS library (Not Typescript) created with create-react-library. The library works as expected.

My Question: How do I get the tooltips/hints in the editor where my packages is used?

Currently: If I import one of my components e.g

<Notice color='red' text='Warning'/>

When I hover over over Notice the tooltip shows

(alias) function Notice(_ref: any): any
import Notice

What I am looking for is a tooltip to show info along the lines of Notice (color, text)...

A few ideas I had was some kinda JS docs? or possibly I need typescript and it isn't possible with JS (but this doesn't seem right)?

While I'm usually an expert googler, I don't know enough about the issue and all I can seem to arrive at are 'JS tooltip turorials'. Any direction at all is appreciated. :)

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