Files
twenty/packages/twenty-docs/l/es/twenty-ui/display/app-tooltip.mdx
T
Félix Malfait 5d438bb70c Docs: restructure navigation, add halftone illustrations, clean up hero images (#19728)
## Summary

- **New Getting Started section** with quickstart guide and restructured
navigation
- **Halftone-style illustrations** for User Guide and Developer
introduction cards using a Canvas 2D filter script
- **Removed hero images** (`image:` frontmatter + `<Frame><img>` blocks)
from all user-guide article pages
- **Cleaned up translations** (13 languages): removed hero images and
updated introduction cards to use halftone style
- **Cleaned up twenty-ui pages**: removed outdated hero images from
component docs
- **Deleted orphaned images**: `table.png`, `kanban.png`
- **Developer page**: fixed duplicate icon, switched to 3-column layout

## Test plan

- [ ] Verify docs site builds without errors
- [ ] Check User Guide introduction page renders halftone card images in
both light and dark mode
- [ ] Check Developer introduction page renders 3-column layout with
distinct icons
- [ ] Confirm article pages no longer show hero images at the top
- [ ] Spot-check a few translated pages to ensure hero images are
removed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: github-actions <github-actions@twenty.com>
2026-04-21 09:13:55 +02:00

78 lines
5.3 KiB
Plaintext

---
title: Consejo de la aplicación
---
<Frame>
<img src="/images/user-guide/tips/light-bulb.png" alt="Encabezado" />
</Frame>
Un breve mensaje que muestra información adicional cuando un usuario interactúa con un elemento.
<Tabs>
<Tab title="Uso">
```jsx
import { AppTooltip } from "@/ui/display/tooltip/AppTooltip";
export const MyComponent = () => {
return (
<>
<p id="hoverText" style={{ display: "inline-block" }}>
Customer Insights
</p>
<AppTooltip
className
anchorSelect="#hoverText"
content="Explore customer behavior and preferences"
delayHide={0}
offset={6}
noArrow={false}
isOpen={true}
place="bottom"
positionStrategy="absolute"
/>
</>
);
};
```
</Tab>
<Tab title="Props">
| Props | Tipo | Descripción |
| ------------------ | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| nombreDeClase | cadena | Clase CSS opcional para estilo adicional |
| anchorSelect | Selector CSS | Selector para el ancla del consejo (el elemento que activa el consejo) |
| contenido | cadena | El contenido que desea mostrar dentro del consejo |
| delayHide | número | The delay in seconds before hiding the tooltip after the cursor leaves the anchor |
| desplazamiento | número | El desplazamiento en píxeles para posicionar el consejo |
| sinFlecha | booleano | Si es `true`, oculta la flecha en el consejo |
| estáAbierto | booleano | Si es `true`, el consejo está abierto por defecto |
| lugar | Cadena `PlacesType` de `react-tooltip` | Especifica la colocación del consejo. Los valores incluyen `inferior`, `izquierda`, `derecha`, `superior`, `superior-inicio`, `superior-fin`, `derecha-inicio`, `derecha-fin`, `inferior-inicio`, `inferior-fin`, `izquierda-inicio` y `izquierda-fin` |
| estrategiaPosicion | Cadena `PositionStrategy` de `react-tooltip` | Estrategia de posición para el consejo. Tiene dos valores: `absoluto` y `fijo` |
</Tab>
</Tabs>
## Texto Desbordante con Consejo
Maneja texto desbordante y muestra un consejo cuando el texto se desborda.
<Tabs>
<Tab title="Uso">
```jsx
import { OverflowingTextWithTooltip } from 'twenty-ui/display';
export const MyComponent = () => {
const crmTaskDescription =
'Follow up with client regarding their recent product inquiry. Discuss pricing options, address any concerns, and provide additional product information. Record the details of the conversation in the CRM for future reference.';
return <OverflowingTextWithTooltip text={crmTaskDescription} />;
};
```
</Tab>
<Tab title="Props">
| Props | Tipo | Descripción |
| ----- | ------ | -------------------------------------------------------------- |
| texto | cadena | El contenido que desea mostrar en el área de texto desbordante |
</Tab>
</Tabs>