Skip to content

Commit

Permalink
Merge pull request #2468 from gluestack/fix/path-corrections
Browse files Browse the repository at this point in the history
fix: doc path corrections
  • Loading branch information
Viraj-10 authored Sep 17, 2024
2 parents 9156ff1 + b6bc376 commit 798297e
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 1,253 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Frequently asked questions about gluestack-ui in the Discord commun

import { Canvas, Meta, Story } from '@storybook/addon-docs';

<Meta title="with-nativewind/Guides/More/DiscordFAQs" />
<Meta title="with-nativewind/Guides/More/Discord FAQs" />

# Discord FAQs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ To add config, create a `gluestack-ui-provider/config.ts` file in your `componen
</CollapsibleCode>

#### For Native
To add `GluestackUIProvider`, create a `gluestack-ui-provider/index.tsx` file inside `components/` folder and paste the following code.
To add `GluestackUIProvider`, create a `gluestack-ui-provider/index.tsx` file inside `components/ui` folder and paste the following code.

<CollapsibleCode>

Expand All @@ -137,7 +137,7 @@ To add `GluestackUIProvider`, create a `gluestack-ui-provider/index.tsx` file in
</CollapsibleCode>

#### For Web
To add `GluestackUIProvider`, create a `gluestack-ui-provider/index.web.tsx` file inside `components/` folder and paste the following code.
To add `GluestackUIProvider`, create a `gluestack-ui-provider/index.web.tsx` file inside `components/ui` folder and paste the following code.

<CollapsibleCode>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ This is an illustration of **useBreakPointValue** hook.
<CollapsibleCode>

```jsx
%%-- File: core-components/hooks/use-break-point-value.ts --%%
%%-- File: core-components/ui/utils/use-break-point-value.ts --%%
```

</CollapsibleCode>
Expand All @@ -130,7 +130,7 @@ This is an illustration of **useBreakPointValue** hook.
To use this component in your project, include the following import statement in your file.

```jsx
import { useBreakPointValue } from '@/components/hooks/use-break-point-value';
import { useBreakPointValue } from '@/components/ui/utils/use-break-point-value';
```
```jsx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ import Wrapper from '../../core-components/nativewind/Wrapper';
<CollapsibleCode>

```jsx
%%-- File: core-components/hooks/use-media-query.ts --%%
%%-- File: core-components/ui/utils/use-media-query.ts --%%
```

</CollapsibleCode>
Expand All @@ -175,7 +175,7 @@ import Wrapper from '../../core-components/nativewind/Wrapper';
To use this component in your project, include the following import statement in your file.

```jsx
import { useMediaQuery } from '@/components/hooks/use-media-query';
import { useMediaQuery } from '@/components/ui/utils/use-media-query';
```
```jsx
Expand Down
Loading

0 comments on commit 798297e

Please sign in to comment.