import {forwardRef} from 'react'; import {Symbol} from './querySymbol'; interface EquationSymbolProps extends React.ComponentProps { equationId: number; } export function getEquationSymbol(equationId: number) { return `ƒ${equationId + 1}`; } export const EquationSymbol = forwardRef( function EquationSymbol({equationId, ...props}, ref) { return ( ƒ{equationId + 1} ); } );