Skip to content

Commit be29674

Browse files
0xflotusTrancever
authored andcommitted
fix: fix typos in docs (#1462)
1 parent 2a155ee commit be29674

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/pages/4.fonts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: Fonts
88

99
The easiest way to install custom fonts to your RN project is do as follows:
1010

11-
1. Define path to asssets directory with fonts in project:
11+
1. Define path to assets directory with fonts in project:
1212

1313
Example:
1414

@@ -43,7 +43,7 @@ The easiest way to install custom fonts to your RN project is do as follows:
4343
To create a custom font you need to prepare `fontConfig` where fonts are divided by platforms.
4444
After you have to pass the `fontConfig` into `configureFonts` method in a custom theme.
4545
46-
Note: To override font on all platforms use `deafult` key.
46+
Note: To override font on all platforms use `default` key.
4747
4848
Check the [default theme](https://github.com/callstack/react-native-paper/blob/master/src/styles/DefaultTheme.tsx) to see what customization options are supported.
4949

docs/pages/5.react-native-web.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = function override(config, env) {
3838
babelrc: false,
3939
configFile: false,
4040

41-
// The configration for compilation
41+
// The configuration for compilation
4242
presets: [
4343
["@babel/preset-env", { useBuiltIns: "usage" }],
4444
"@babel/preset-react",
@@ -183,7 +183,7 @@ Now, add the following in the `module.rules` array in your webpack config:
183183
babelrc: false,
184184
configFile: false,
185185

186-
// The configration for compilation
186+
// The configuration for compilation
187187
presets: [
188188
['@babel/preset-env', { useBuiltIns: 'usage' }],
189189
'@babel/preset-react',

0 commit comments

Comments
 (0)