import { useState } from 'react';
const App = () => {
const [ color, setColor ] = useState('#fff');
const [ backgroundColor, setBackgroundColor ] = useState('#f44');
return (
<p style={{ 'color': color, 'backgroundColor': backgroundColor }} >
Hello world
</p>
);
};
export default App;