import TeX from "@matejmazur/react-katex"; import { Coefs } from "../src/transform"; import styles from "../src/css/styles.module.css"; export interface Props { title: String; isPost: boolean; coefs: Coefs; setCoefs: (coefs: Coefs) => void; resetCoefs: () => void; } export const CoefEditor = ({ title, isPost, coefs, setCoefs, resetCoefs }: Props) => { const resetButton = ; return (
{title} {resetButton}
{isPost ?
{isPost ?
{isPost ?
{isPost ?
{isPost ?
{isPost ?