Skip to content

Commit

Permalink
docs(file-upload): isFocused shows whether the user is focused on the…
Browse files Browse the repository at this point in the history
… dropzone (not root) element
  • Loading branch information
srflp committed Sep 13, 2023
1 parent eac4265 commit 488b2ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/docs/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@
},
"isFocused": {
"type": "boolean",
"description": "Whether the user is focused on the root element"
"description": "Whether the user is focused on the dropzone element"
},
"open": {
"type": "() => void",
Expand Down
2 changes: 1 addition & 1 deletion packages/machines/file-upload/src/file-upload.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export interface MachineApi<T extends PropTypes> {
*/
isDragging: boolean
/**
* Whether the user is focused on the root element
* Whether the user is focused on the dropzone element
*/
isFocused: boolean
/**
Expand Down

0 comments on commit 488b2ed

Please sign in to comment.