Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/3.4.x/nb-icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ title: NativeBase Icons
2. To add particular fonts: (For example, if you need to add AntDesignFonts and MaterialIconsFonts, write this piece of code in `_document.js`)
<br/>

````jsx
```jsx
import { default as NativebaseDocument } from "@native-base/next-adapter/document";
import AntDesignFontFaceCSS from "@native-base/icons/FontsCSS/AntDesignFontFaceCSS";
import MaterialIconsFontFaceCSS from "@native-base/icons/FontsCSS/MaterialIconsFontFaceCSS";
Expand Down Expand Up @@ -128,7 +128,6 @@ title: NativeBase Icons
style.appendChild(document.createTextNode(fontsCSS));
document.head.appendChild(style);
```
<br/>

2. To add a particular font
<br/>
Expand Down
3 changes: 1 addition & 2 deletions docs/next/nb-icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ title: NativeBase Icons
2. To add particular fonts: (For example, if you need to add AntDesignFonts and MaterialIconsFonts, write this piece of code in `_document.js`)
<br/>

````jsx
```jsx
import { default as NativebaseDocument } from "@native-base/next-adapter/document";
import AntDesignFontFaceCSS from "@native-base/icons/FontsCSS/AntDesignFontFaceCSS";
import MaterialIconsFontFaceCSS from "@native-base/icons/FontsCSS/MaterialIconsFontFaceCSS";
Expand Down Expand Up @@ -128,7 +128,6 @@ title: NativeBase Icons
style.appendChild(document.createTextNode(fontsCSS));
document.head.appendChild(style);
```
<br/>

2. To add a particular font
<br/>
Expand Down