Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
trueadm committed Oct 3, 2019
1 parent c23b881 commit 8a3cb13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
`FocusContain` is a component that contains user-focusability to only that
of the children of the component. This means focus control will not escape
unless the componoent is disabled (using the `disabled` prop) or unmounted.
Additionally, `FocusContain` can contian tab focus when passed a `ReactScope`
Additionally, `FocusContain` can contain tab focus when passed a `ReactScope`
using the `tabFocus` prop.

## Usage
Expand All @@ -25,5 +25,3 @@ function MyDialog(props) {
)
}
```


Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ Focus the first node that matches the given scope.

### `focusNext`

Focus the next sequential node that matchs the given scope.
Focus the next sequential node that matches the given scope.

### `focusPrevious`

Focus the previous sequential node that matchs the given scope.
Focus the previous sequential node that matches the given scope.

### `getNextScope`

Focus the first node that matches the next sibling scope from the given scope.

### `getPreviousScope`

Focus the first node that matches the previous sibling scope from the given scope.
Focus the first node that matches the previous sibling scope from the given scope.

0 comments on commit 8a3cb13

Please sign in to comment.