mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
9 lines
294 B
JavaScript
9 lines
294 B
JavaScript
import SymbolPaletteContent from './symbol-palette-content'
|
|
|
|
export default function SymbolPalette() {
|
|
const handleSelect = (symbol) => {
|
|
window.dispatchEvent(new CustomEvent('editor:insert-symbol', { detail: symbol }))
|
|
}
|
|
return <SymbolPaletteContent handleSelect={handleSelect} />
|
|
}
|