ReactJs Component Function Component

const ExampleComponent = (props) => {
    const [stateVariable, setStateVariable] = useState('');

    return (
        <div>
            <h1>This is a function component view</h1>
        </div>
    )
}
Junior Grepper