mirror of
https://github.com/catppuccin/catppuccin
synced 2024-11-22 03:23:04 +00:00
20 lines
520 B
TypeScript
20 lines
520 B
TypeScript
|
import React, { useState } from 'react'
|
||
|
|
||
|
const Component = (): JSX.Element => {
|
||
|
const [count, setCount] = useState<number>(0)
|
||
|
|
||
|
return (
|
||
|
<>
|
||
|
<main>
|
||
|
<h1>IntelliJ IDEA</h1>
|
||
|
<img height="12" src="images/hg.gif" width="18" />
|
||
|
What is IntelliJ IDEA? · Α
|
||
|
<button onClick={() => setCount(count + 1)}>Click me</button>
|
||
|
<div>{count}</div>
|
||
|
</main>
|
||
|
</>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export default Component
|