Archived
added prettier | pnpm workspaces
This commit is contained in:
+16
-4
@@ -1,8 +1,20 @@
|
||||
import { fw } from 'rage-fw-cef'
|
||||
import { useEffect } from 'react'
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<>
|
||||
</>
|
||||
)
|
||||
useEffect(() => {
|
||||
fw.event.register('customCefEvent', ([test]) => {
|
||||
console.log(test)
|
||||
|
||||
return ''
|
||||
})
|
||||
}, [])
|
||||
|
||||
return (
|
||||
<>
|
||||
<h1>Hello World!</h1>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default App
|
||||
|
||||
Reference in New Issue
Block a user