mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2025-07-31 02:00:07 +02:00
8 lines
294 B
JavaScript
8 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} />
|
|
}
|