Skip to content

Commit

Permalink
Fix NavigableRegion README (#45879)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad authored Nov 18, 2022
1 parent a5f2b81 commit aa0a9cf
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/interface/src/components/navigable-region/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

It also renders a child `div` element that is responsible to set a negative `z-index` stack level, to make sure the focus style is always visible, regardless of other elements that may cut-off the focus style outline otherwise.

It can use a CSS animation via the `motion` component.

## Props

### children
Expand All @@ -29,10 +27,10 @@ A meaningful name for the ARIA landmark region.
- Type: `String`
- Required: Yes

### motionProps
### as

Properties of `motionProps` object will be used by the `motion` component to set a CSS animation on the wrapper div.
The component used as the root of the region. Defaults to a `div` element.

- Type: `Object`
- Required: No
- Default: `{}`
- Type: `Component`
- Required: no
- Default: `div`

0 comments on commit aa0a9cf

Please sign in to comment.