Closed johnhok closed 1 year ago
Sorry for being sooooo late, but that is the use case to use empty InFocusGuard
?
This issue has been marked as "stale" because there has been no activity for 2 months. If you have any new information or would like to continue the discussion, please feel free to do so. If this issue got buried among other tasks, maybe this message will reignite the conversation. Otherwise, this issue will be closed in 7 days. Thank you for your contributions so far.
Sorry for being sooooo late, but that is the use case to use empty
InFocusGuard
?
Sorry @theKashey, missed your reply, the use case is for these example usages where you have InFocusGuard
without any children.
🤝
The
children
property is optional in theInFocusGuard
component. This updates the typescript interface so that it doesn't complain about children being required when we use<InFocusGuard />
.