Skip to content

Commit

Permalink
Update index.stories.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Viraj-10 authored Jun 7, 2024
1 parent 1159d82 commit 958f1bb
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,18 @@ We have also exported all the providers separately so that you can use them indi
To use only config and styled functionalities, you can use `GluestackUIStyledProvider` component.

```jsx
import { GluestackUIStyledProvider } from '@gluestack-ui/themed';
import { GluestackUIStyledProvider, Button, ButtonText } from '@gluestack-ui/themed';
import { config } from '@gluestack-ui/config';

<GluestackUIStyledProvider config={config}>
<Button>
<ButtonText>Hello World</ButtonText>
</Button>
</GluestackUIStyledProvider>
export default function App() {
return (
<GluestackUIProvider config={config}>
<Button>
<ButtonText>Hello World</ButtonText>
</Button>
</GluestackUIProvider>
)
}
```

### OverlayProvider
Expand Down

0 comments on commit 958f1bb

Please sign in to comment.