mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
0360d01aeb
GitOrigin-RevId: b00128bc087e2ebe9911fa19b7e62fd4bb492226
15 lines
383 B
JavaScript
15 lines
383 B
JavaScript
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import SymbolPaletteContent from './symbol-palette-content'
|
|
|
|
export default function SymbolPalette({ show, handleSelect }) {
|
|
if (!show) {
|
|
return null
|
|
}
|
|
|
|
return <SymbolPaletteContent handleSelect={handleSelect} />
|
|
}
|
|
SymbolPalette.propTypes = {
|
|
show: PropTypes.bool,
|
|
handleSelect: PropTypes.func.isRequired,
|
|
}
|