import React from 'react';
import { OrisonPage } from 'orisonjs';

const Index: OrisonPage = () => {
    const [counter, setCounter] = React.useState(0);

    return (
        <>
            <span>You have pressed the button {counter} time(s).</span>
            <br />
            <button onClick={() => setCounter(counter + 1)}>Click Me</button>
        </>
    );
};
export default Index;