mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
7c97f8ab6e
* Use new JSX runtime and update Babel Node target * Update .eslintrc * Remove React imports GitOrigin-RevId: 559de0267f8f2934c56a860ea8701bb522aa861a
29 lines
782 B
JavaScript
29 lines
782 B
JavaScript
import { Button, OverlayTrigger, Tooltip } from 'react-bootstrap'
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
export default function SymbolPaletteInfoLink() {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<OverlayTrigger
|
|
placement="top"
|
|
trigger={['hover', 'focus']}
|
|
overlay={
|
|
<Tooltip id="tooltip-symbol-palette-info">
|
|
{t('find_out_more_about_latex_symbols')}
|
|
</Tooltip>
|
|
}
|
|
>
|
|
<Button
|
|
bsStyle="link"
|
|
bsSize="small"
|
|
className="symbol-palette-info-link"
|
|
href="https://www.overleaf.com/learn/latex/List_of_Greek_letters_and_math_symbols"
|
|
target="_blank"
|
|
rel="noopener noreferer"
|
|
>
|
|
<span className="info-badge" />
|
|
</Button>
|
|
</OverlayTrigger>
|
|
)
|
|
}
|