diff --git a/docs/5.x/docs/guides/fonts.md b/docs/5.x/docs/guides/fonts.md index 906159f99a..ffab445e0a 100644 --- a/docs/5.x/docs/guides/fonts.md +++ b/docs/5.x/docs/guides/fonts.md @@ -152,7 +152,7 @@ If you're using TypeScript use `as const` when defining `fontConfig`. In the latest version fonts in theme are structured based on the `variant` keys e.g. `displayLarge` or `bodyMedium` which are then used in `Text`'s component throughout the whole library. :::info -The default `fontFamily` is different per particular platfrom: +The default `fontFamily` is different per particular platform: ```js Platform.select({ diff --git a/docs/5.x/docs/guides/getting-started.md b/docs/5.x/docs/guides/getting-started.md index 68071c4d25..554f3ceb60 100644 --- a/docs/5.x/docs/guides/getting-started.md +++ b/docs/5.x/docs/guides/getting-started.md @@ -18,7 +18,7 @@ npm install react-native-paper npm install react-native-safe-area-context ``` -Additionaly for `iOS` platform there is a requirement to link the native parts of the library: +Additionally for `iOS` platform there is a requirement to link the native parts of the library: ```bash npx pod-install diff --git a/docs/5.x/docs/guides/migration-guide-to-5.0.md b/docs/5.x/docs/guides/migration-guide-to-5.0.md index 2e47a8773a..21bb96c2f7 100644 --- a/docs/5.x/docs/guides/migration-guide-to-5.0.md +++ b/docs/5.x/docs/guides/migration-guide-to-5.0.md @@ -14,7 +14,7 @@ Below you can find the most important information about the components whose API ### Installation -- The `v5` has been oficially released as a stable version, which means it will be installed by default from the `npm`. In order to do that, open a Terminal in your project's folder and run: +- The `v5` has been officially released as a stable version, which means it will be installed by default from the `npm`. In order to do that, open a Terminal in your project's folder and run: ```bash npm2yarn npm install react-native-paper @@ -26,7 +26,7 @@ npm install react-native-paper npm install react-native-safe-area-context ``` -Additionaly for `iOS` platform there is a requirement to link the native parts of the library: +Additionally for `iOS` platform there is a requirement to link the native parts of the library: ```bash npx pod-install @@ -165,7 +165,7 @@ Take a look at the suggested replacement diff: ### Configure fonts -The existing utility called `configureFonts` was adjusted to help users configure their theme fonts in both version, that's why that function, as of today, is going to accept the object with the follwing properties as an argument: +The existing utility called `configureFonts` was adjusted to help users configure their theme fonts in both version, that's why that function, as of today, is going to accept the object with the following properties as an argument: ```ts configureFonts(params); @@ -476,7 +476,7 @@ With the latest version, there is a possibility to specify whether `Drawer.Secti #### FAB -Additionaly `FAB` may be applied in one of three available sizes, thanks to new prop `size`: +Additionally `FAB` may be applied in one of three available sizes, thanks to new prop `size`: - `small` - FAB with small height (40), - `medium` - Appbar with default medium height (56), diff --git a/docs/6.x/docs/guides/getting-started.mdx b/docs/6.x/docs/guides/getting-started.mdx index f5c438c080..89cc84788d 100644 --- a/docs/6.x/docs/guides/getting-started.mdx +++ b/docs/6.x/docs/guides/getting-started.mdx @@ -162,7 +162,7 @@ export default function Main() { ## Customization -You can provide a custom theme to customize the colors, typescales etc. with the `Provider` component. Check the [Material Design 3 default theme](https://github.com/callstack/react-native-paper/blob/main/src/styles/themes/v3/LightTheme.tsx) to see what customization options are supported. +You can provide a custom theme to customize the colors, typescales etc. with the `Provider` component. Check the [Material Design 3 default theme](https://github.com/callstack/react-native-paper/blob/main/src/theme/schemes/LightTheme.tsx) to see what customization options are supported. Example: diff --git a/docs/6.x/docs/guides/theming.mdx b/docs/6.x/docs/guides/theming.mdx index c7eed1703d..b58bf0702d 100644 --- a/docs/6.x/docs/guides/theming.mdx +++ b/docs/6.x/docs/guides/theming.mdx @@ -28,7 +28,7 @@ export default function Main() { } ``` -By default React Native Paper will apply the [Material You theme (MD3)](https://github.com/callstack/react-native-paper/blob/main/src/styles/themes/v3/LightTheme.tsx) if no `theme` or `version` prop is passed to the `PaperProvider`. +By default React Native Paper will apply the [Material You theme (MD3)](https://github.com/callstack/react-native-paper/blob/main/src/theme/schemes/LightTheme.tsx) if no `theme` or `version` prop is passed to the `PaperProvider`. ## Accessing theme properties