Code & Deploy
siGit Code
Git Hosting
Toggle menu
Code
Code Review
Models
Repos
Sign in
Sign in
@samitouri
/
QOS-React-2
QOS-React-2
/
fixtures
/
nesting
/
src
/
shared
/
Clock.js
Code
Commits
Issues
Pulls
Sessions
CI/CD
main
main
js
8 lines
154 Bytes
Copy permalink
Copy
Raw
1
import
React
from
'
react
'
;
2
3
import
useTime
from
'
./useTime
'
;
4
5
export
default
function
Clock
()
{
6
const
time
=
useTime
();
7
return
<
p
>
Time
:
{
time
}
<
/p>
;
8
}