-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #457 from GeekyAnts/fix/docs-installation
fix: docs installation page
- Loading branch information
Showing
10 changed files
with
219 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
id: installation | ||
title: Installation | ||
--- | ||
|
||
import { InstallationTiles } from "../src/components"; | ||
|
||
**NativeBase** is supported in [Expo](https://docs.expo.dev/get-started/installation/) or React Native CLI initiated apps. Web support is made possible by [react-native-web](https://necolas.github.io/react-native-web/). | ||
(Note: If you are starting a new project, please try [gluestack-ui](https://gluestack.io/ui/docs/home/getting-started/installation/?utm_source=nativebase&utm_medium=docs+install&utm_campaign=installation) for better performance, new design). | ||
|
||
Refer the guides shown below to setup NativeBase in your React app. | ||
|
||
<Box> | ||
<Box mt="4" mb="8"> | ||
<InstallationTiles /> | ||
</Box> | ||
</Box> | ||
|
||
<br /> | ||
|
||
### NativeBase VS Code Extensions | ||
|
||
[NativeBase VS Code Extensions](https://marketplace.visualstudio.com/items?itemName=NativeBase.nativebase-v3-vscode-extension) are specifically designed to quicken your development process using **NativeBase 3.0**. | ||
NativeBase snippets are shorthand for commonly used NativeBase components. | ||
|
||
All snippets start with the prefix `nb-` and are followed by the name of the desired component. | ||
|
||
<AspectRatio ratio={1.7} w="100%" maxW="1056"> | ||
<Image | ||
resizeMode="contain" | ||
source={{ uri: "https://cdn.nativebase.io/NativeBaseSnippet.gif" }} | ||
alt="aang transitioning to avatar state" | ||
/> | ||
</AspectRatio> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.