Skip to content

Instantly share code, notes, and snippets.

View Yaroslav-Mig's full-sized avatar

Yaroslav Mescheryakov Yaroslav-Mig

View GitHub Profile
import { TextField } from '@material-ui/core';
import { ChangeEvent, FC, KeyboardEvent, useState } from 'react';
import st from './TodoList.module.css';
type EditableSpanProps = {
title: string;
changeTitle: (newTitle: string) => void;
};
export const EditableSpan: FC<EditableSpanProps> = props => {