Архівований
added prettier | pnpm workspaces
Цей коміт міститься в:
1 джерело
bc08e1c707
коміт
0138af71c0
5 files changed
+49
-7
No files matched your search
@@ -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
Заблокувати користувача