Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

feat: add a useIsFocused hook to get focus state #52

Merged
merged 1 commit into from
Aug 13, 2019

Conversation

satya164
Copy link
Member

No description provided.

@satya164 satya164 requested a review from osdnk August 10, 2019 00:11
@codecov-io
Copy link

Codecov Report

Merging #52 into master will decrease coverage by 0.3%.
The diff coverage is 81.81%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
- Coverage   93.04%   92.73%   -0.31%     
==========================================
  Files          21       22       +1     
  Lines         388      399      +11     
  Branches       97       97              
==========================================
+ Hits          361      370       +9     
- Misses         26       28       +2     
  Partials        1        1
Impacted Files Coverage Δ
packages/core/src/useFocusEffect.tsx 100% <ø> (ø) ⬆️
packages/core/src/useIsFocused.tsx 81.81% <81.81%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a284ef1...7372570. Read the comment docs.

Copy link
Member

@osdnk osdnk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:o

@osdnk osdnk merged commit c6e3b17 into master Aug 13, 2019
@osdnk osdnk deleted the @satya164/use-is-focused branch August 13, 2019 20:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants