Skip to content

Commit 2d2f678

Browse files
authored
Update jsx-style-context.mdx (#3328)
1 parent 70a86b4 commit 2d2f678

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/pages/docs/concepts/jsx-style-context.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ This function is a factory function that returns three functions: `withRootProvi
111111

112112
### withRootProvider
113113

114-
Creates the root component that provides the style context. Use this when the root component **does not render an underling DOM element**.
114+
Creates the root component that provides the style context. Use this when the root component **does not render an underlying DOM element**.
115115

116116
```tsx
117117
import { Dialog } from '@ark-ui/react'
@@ -123,7 +123,7 @@ const DialogRoot = withRootProvider(Dialog.Root)
123123

124124
### withProvider
125125

126-
Creates a component that both provides context and applies the root slot styles. Use this when the root component **renders an underling DOM element**.
126+
Creates a component that both provides context and applies the root slot styles. Use this when the root component **renders an underlying DOM element**.
127127

128128
> **Note:** It requires the root `slot` parameter to be passed.
129129

0 commit comments

Comments
 (0)