This commit is contained in:
2025-06-05 20:35:12 +02:00
commit f3cf85aa75
28 changed files with 3576 additions and 0 deletions

13
lab07/src/MyReset.jsx Normal file
View File

@ -0,0 +1,13 @@
import React from 'react';
import './MyReset.css';
import { useDispatch } from 'react-redux';
export default function MyReset() {
const dispatch = useDispatch();
return (
<div>
<button className="button" onClick={() => dispatch({ type: 'font/reset' })}>R</button>
</div>
);
}