const handleTypeBtnClick = (e: React.MouseEvent<HTMLElement>) => {
const value = e.target.value;
};
Property 'value' does not exist on type 'EventTarget'.ts(2339)
const handleTypeBtnClick = (e: React.MouseEvent<HTMLElement>) => {
const value = (e.target as HTMLButtonElement).value;
};