import React, { useState } from 'react'; const Test = () => { const [x, setX] = useState(1); return (
{`Test: ${x}`}
); } export default Test;