Skip to content

Commit

Permalink
Merge pull request #587 from CodingDive/master
Browse files Browse the repository at this point in the history
[Dialog] Fix initialFocusRef docs by changing the prop heading to the DialogOverlay component
  • Loading branch information
Chance Strickland committed May 20, 2020
2 parents 52d721c + 4836baf commit 667b89b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/pages/dialog.mdx
Expand Up @@ -325,7 +325,7 @@ _Type_: `func`
Same as [Dialog `onDismiss`](#dialog-ondismiss)
##### DialogContent initialFocusRef
##### DialogOverlay initialFocusRef
_Type_: `ref`
Expand Down Expand Up @@ -480,7 +480,7 @@ function Example(props) {
<AnimatedDialogContent
style={{
transform: styles.y.interpolate(
value => `translate3d(0px, ${value}px, 0px)`
(value) => `translate3d(0px, ${value}px, 0px)`
),
border: "4px solid hsla(0, 0%, 0%, 0.5)",
borderRadius: 10,
Expand Down

0 comments on commit 667b89b

Please sign in to comment.