Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
3f43b99
Fix typo "_ligth" -> "_light"
Cu64 Sep 17, 2021
60c00e6
Fixed typings strict mode
Sep 23, 2021
369b294
Merge branch 'minor' of github.com:GeekyAnts/nativebase-docs into fix…
Sep 23, 2021
7c6dc90
Deleted old version, created again
Sep 23, 2021
a3cf17f
Merge pull request #96 from GeekyAnts/fix/typing
surajahmed Sep 23, 2021
7458021
Removed commented code for build
Sep 23, 2021
de35df3
Merge pull request #97 from GeekyAnts/fix/typing
surajahmed Sep 23, 2021
bf83703
fix: drawer navigation
rayan1810 Sep 24, 2021
f9454a6
fix: drawer navigation version
rayan1810 Sep 24, 2021
ae9d3a9
Merge pull request #98 from GeekyAnts/fix/drawer-nav
Ajamuar Sep 24, 2021
fe81bd4
fix: login screen and utility first typo
rayan1810 Sep 24, 2021
cfac525
Merge branch 'minor' of github.com:GeekyAnts/nativebase-docs into fix…
rayan1810 Sep 24, 2021
9724136
fix: design token doc
rayan1810 Sep 24, 2021
2333ee9
Merge pull request #99 from GeekyAnts/fix/login-utilityfirst
Ajamuar Sep 24, 2021
948c9c0
docs fixes
makkarMeenu Sep 24, 2021
52dcb53
Merge pull request #100 from GeekyAnts/fix/docs-changes
Ajamuar Sep 24, 2021
1031a15
alpha info added
Sep 27, 2021
fdd4bce
reference added
Sep 27, 2021
0159b77
Merge pull request #101 from GeekyAnts/fix/alpha-doc-added
Ajamuar Sep 27, 2021
e90062d
reference added
Sep 27, 2021
78a459e
Merge pull request #102 from GeekyAnts/fix/alpha-doc-added
Ajamuar Sep 27, 2021
9c2092e
fix: migration guide for nextjs
rayan1810 Sep 27, 2021
af9dffc
Merge branch 'minor' of github.com:GeekyAnts/nativebase-docs into fix…
rayan1810 Sep 27, 2021
77c8805
Merge pull request #103 from GeekyAnts/fix/migration-guide
Ajamuar Sep 27, 2021
9694f86
sidebar title updated
Ajamuar Oct 1, 2021
cf93a3b
size was removed in 3.2.x and replaced with
Oct 13, 2021
7dcecef
fix: remove simple grid from example
intergalacticspacehighway Oct 18, 2021
9dcea1d
fix: remove simple grid from example
intergalacticspacehighway Oct 18, 2021
7a01607
fix: remove border prop from docs
intergalacticspacehighway Oct 18, 2021
6c8bdb2
Merge pull request #108 from cHaLkdusT/updated-xxs-to-2xs
intergalacticspacehighway Oct 20, 2021
d8e831a
rnw styles reset note
intergalacticspacehighway Oct 20, 2021
d6c01f9
Merge pull request #111 from GeekyAnts/remove-simple-grid
intergalacticspacehighway Oct 20, 2021
787b864
Merge pull request #72 from Cu64/patch-1
intergalacticspacehighway Oct 20, 2021
e68cf95
Merge pull request #114 from GeekyAnts/minor
intergalacticspacehighway Oct 20, 2021
5d9743d
Updated ButtonGroup content and fixed DrawerNavigation example
amars29 Oct 21, 2021
6ee8bd8
broken link changes
makkarMeenu Oct 21, 2021
ee86eee
typing automation fixes
makkarMeenu Oct 21, 2021
aec721d
platform link corrected
makkarMeenu Oct 21, 2021
d440fd2
fix: broken examples in docs
rayan1810 Oct 22, 2021
adbec93
fix: broken examples in docs
rayan1810 Oct 22, 2021
8b21e8b
unreleased docs removed
makkarMeenu Oct 22, 2021
6056e00
fix: add Note for using next image on next app
md-rehman Oct 22, 2021
1221537
Merge pull request #122 from GeekyAnts/fix/example-bugs
surajahmed Oct 22, 2021
1ccb43b
Merge pull request #121 from GeekyAnts/fix/typing-automation
surajahmed Oct 22, 2021
61be588
Merge pull request #119 from GeekyAnts/fix/broken-links
surajahmed Oct 22, 2021
c09c631
removed styled components and styled system from installation guide
makkarMeenu Oct 25, 2021
c681961
snackplayer automation fixes
makkarMeenu Oct 26, 2021
6fc1115
Merge pull request #127 from GeekyAnts/feat/snackplayer-automation
surajahmed Oct 26, 2021
b569644
Merge pull request #126 from GeekyAnts/fix/installation-guide
surajahmed Oct 27, 2021
1c91e88
Merge pull request #123 from GeekyAnts/fix/unreleased-docs-removal
surajahmed Oct 27, 2021
f94ed3f
Merge pull request #124 from GeekyAnts/fix/image-note
surajahmed Oct 27, 2021
677a179
Merge branch 'staging' into fix/buttongroup
amars29 Oct 27, 2021
0e876a9
Merge branch 'main' into hotfix/sidebar-titles
Ajamuar Oct 27, 2021
3f77134
Merge pull request #104 from GeekyAnts/hotfix/sidebar-titles
surajahmed Oct 27, 2021
5441ee3
Merge pull request #118 from GeekyAnts/fix/buttongroup
surajahmed Oct 27, 2021
c84e829
feat: aspectratio docs
rayan1810 Oct 27, 2021
2b2afbe
Merge pull request #128 from GeekyAnts/feat/aspect-ratio-docs
md-rehman Oct 29, 2021
5c0ad9e
fix: drawer navigation example
rayan1810 Nov 8, 2021
108482b
Merge pull request #133 from GeekyAnts/fix/drawer-nav-example
Ajamuar Nov 10, 2021
119027c
remove aspectratio docs
rayan1810 Nov 11, 2021
fe9cbb0
Merge pull request #135 from GeekyAnts/fix/aspectratio-docs
Ajamuar Nov 11, 2021
1f85aef
precedence table created
makkarMeenu Nov 11, 2021
298aa3a
Merge pull request #136 from GeekyAnts/fix/precedence-table
surajahmed Nov 11, 2021
78af988
New version added
surajahmed Nov 11, 2021
9952a06
Merge pull request #137 from GeekyAnts/new-version/3.2.2
surajahmed Nov 11, 2021
ef42f08
fixes regarding build failed
surajahmed Nov 11, 2021
81b1bd1
Merge conflict resolved
surajahmed Nov 11, 2021
2d4a595
Merge pull request #138 from GeekyAnts/fix/build-issue
surajahmed Nov 11, 2021
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
11 changes: 0 additions & 11 deletions blog/2019-05-28-hola.md

This file was deleted.

17 changes: 0 additions & 17 deletions blog/2019-05-29-hello-world.md

This file was deleted.

13 changes: 0 additions & 13 deletions blog/2019-05-30-welcome.md

This file was deleted.

6 changes: 3 additions & 3 deletions docs/FAB.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ import { Fab } from 'native-base';

### Basic

```ComponentSnackPlayer path=composites,Fab,Basic.tsx
```ComponentSnackPlayer path=components,composites,Fab,Basic.tsx

```

### Placement

```ComponentSnackPlayer path=composites,Fab,Placement.tsx
```ComponentSnackPlayer path=components,composites,Fab,Placement.tsx

```

### Custom Position

```ComponentSnackPlayer path=composites,Fab,CustomPosition.tsx
```ComponentSnackPlayer path=components,composites,Fab,CustomPosition.tsx

```

Expand Down
2 changes: 1 addition & 1 deletion docs/VStack.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { VStack } from 'native-base';

## Usage

```ComponentSnackPlayer path=primitives,VStack,basic.tsx
```ComponentSnackPlayer path=components,primitives,VStack,basic.tsx

```

Expand Down
4 changes: 2 additions & 2 deletions docs/ZStack.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ title: ZStack

### Basic

```ComponentSnackPlayer path=primitives,ZStack,example.tsx
```ComponentSnackPlayer path=components,primitives,ZStack,example.tsx

```

### Items Centered

You can pass `alignItems="center"` `justifyContent="center"` to vertically and horizontally center the children.

```ComponentSnackPlayer path=primitives,ZStack,CenterStack.tsx
```ComponentSnackPlayer path=components,primitives,ZStack,CenterStack.tsx

```

Expand Down
8 changes: 4 additions & 4 deletions docs/actionSheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@ import { Actionsheet } from 'native-base';

### Usage

```ComponentSnackPlayer path=composites,Actionsheet,Usage.tsx
```ComponentSnackPlayer path=components,composites,Actionsheet,Usage.tsx

```

### Composition

```ComponentSnackPlayer path=composites,Actionsheet,Composition.tsx
```ComponentSnackPlayer path=components,composites,Actionsheet,Composition.tsx

```

### DisableOverlay

```ComponentSnackPlayer path=composites,Actionsheet,DisableOverlay.tsx
```ComponentSnackPlayer path=components,composites,Actionsheet,DisableOverlay.tsx

```

### Icons

```ComponentSnackPlayer path=composites,Actionsheet,Icon.tsx
```ComponentSnackPlayer path=components,composites,Actionsheet,Icon.tsx

```

Expand Down
14 changes: 7 additions & 7 deletions docs/alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ NativeBase exports 5 Alert related components:

- `Alert`: The wrapper for alert components.
- `Alert.Icon`: The visual icon for the alert that changes based on the `status` prop.
<!-- - `Alert.Title`: The title of the alert to be announced by screen readers. -->
<!-- - `Alert.Description`: The description of the alert to be announced by screen readers. -->
<!-- - `Alert.Title`: The title of the alert to be announced by screen readers. -->
<!-- - `Alert.Description`: The description of the alert to be announced by screen readers. -->

```jsx
import { Alert } from 'native-base';
Expand All @@ -24,31 +24,31 @@ import { Alert } from 'native-base';

### Basic

```ComponentSnackPlayer path=composites,Alert,usage.tsx
```ComponentSnackPlayer path=components,composites,Alert,usage.tsx

```

### Status

```ComponentSnackPlayer path=composites,Alert,status.tsx
```ComponentSnackPlayer path=components,composites,Alert,status.tsx

```

### Variant

```ComponentSnackPlayer path=composites,Alert,variant.tsx
```ComponentSnackPlayer path=components,composites,Alert,variant.tsx

```

### Composition

```ComponentSnackPlayer path=composites,Alert,composition.tsx
```ComponentSnackPlayer path=components,composites,Alert,composition.tsx

```

### Action

```ComponentSnackPlayer path=composites,Alert,action.tsx
```ComponentSnackPlayer path=components,composites,Alert,action.tsx

```

Expand Down
5 changes: 1 addition & 4 deletions docs/alertDialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { AlertDialog } from 'native-base';

### Basic

```ComponentSnackPlayer path=composites,AlertDialog,Basic.tsx
```ComponentSnackPlayer path=components,composites,AlertDialog,Basic.tsx

```

Expand All @@ -40,7 +40,6 @@ AlertDialog and its components compose the **[Modal](modal.md)** component, so a
| ------------------- | --------- | -------------------------------------------------------------- | ------- |
| leastDestructiveRef | React.Ref | The least destructive action to get focus when dialog is open. | - |


## Accessibility

Adheres to the [Alert and Message Dialogs WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria-practices-1.2/#alertdialog)
Expand All @@ -54,5 +53,3 @@ Adheres to the [Alert and Message Dialogs WAI-ARIA design pattern.](https://www.
| Tab | Moves focus to the next focusable element. |
| Shift + Tab | Moves focus to the previous focusable element. |
| Esc | Closes the dialog and moves focus to AlertDialog.Trigger. |


33 changes: 18 additions & 15 deletions docs/appDrawer.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ id: app-drawer
title: App drawer
---

Creating an app drawer like layout is very common and with NativeBase's SimpleGrid make this extremely simple while still keeping it extremely customisable. Here is an example to illustrate it.
Creating an app drawer like layout is very common using FlatList. Here is an example to illustrate it.

```SnackPlayer name=AppDrawer
import React from 'react';
import {
IconButton,
SimpleGrid,
FlatList,
Icon,
NativeBaseProvider,
Box,
Expand Down Expand Up @@ -41,19 +41,22 @@ function AppDrawer() {
];

return (
<SimpleGrid columns={4} spacingY={8} spacingX={4}>
{icons.map((icon) => (
<IconButton
borderRadius="full"
bg={icon.bg}
variant="solid"
p="3"
icon={
<Icon color="white" name={icon.name} as={MaterialIcons} size="sm" />
}
/>
))}
</SimpleGrid>
<FlatList numColumns={4} m={"-8px"}
data={icons}
renderItem={({item}) => {
return (
<IconButton
m={'8px'}
borderRadius="full"
bg={item.bg}
variant="solid"
p="3"
icon={
<Icon color="white" name={item.name} as={MaterialIcons} size="sm" />
}
/>
)
}} />
);
}

Expand Down
10 changes: 5 additions & 5 deletions docs/avatar.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,31 @@ import { Avatar } from 'native-base';

### Basic

```ComponentSnackPlayer path=composites,Avatar,usage.tsx
```ComponentSnackPlayer path=components,composites,Avatar,usage.tsx

```

### Sizes

```ComponentSnackPlayer path=composites,Avatar,size.tsx
```ComponentSnackPlayer path=components,composites,Avatar,size.tsx

```

### Fallbacks

```ComponentSnackPlayer path=composites,Avatar,Fallback.tsx
```ComponentSnackPlayer path=components,composites,Avatar,Fallback.tsx

```

### Avatar Badge

```ComponentSnackPlayer path=composites,Avatar,AvatarBadge.tsx
```ComponentSnackPlayer path=components,composites,Avatar,AvatarBadge.tsx

```

### Avatar Group

```ComponentSnackPlayer path=composites,Avatar,AvatarGroup.tsx
```ComponentSnackPlayer path=components,composites,Avatar,AvatarGroup.tsx

```

Expand Down
8 changes: 4 additions & 4 deletions docs/badge.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ import { Badge } from 'native-base';

### Basic

```ComponentSnackPlayer path=composites,Badge,usage.tsx
```ComponentSnackPlayer path=components,composites,Badge,usage.tsx

```

### Color Scheme

```ComponentSnackPlayer path=composites,Badge,color.tsx
```ComponentSnackPlayer path=components,composites,Badge,color.tsx

```

### Variants

```ComponentSnackPlayer path=composites,Badge,variants.tsx
```ComponentSnackPlayer path=components,composites,Badge,variants.tsx

```

### Composition

```ComponentSnackPlayer path=composites,Badge,composition.tsx
```ComponentSnackPlayer path=components,composites,Badge,composition.tsx

```

Expand Down
6 changes: 3 additions & 3 deletions docs/box.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ This is a generic component for low level layout needs. It is similar to a [`div

### Basic

```ComponentSnackPlayer path=primitives,Box,basic.tsx
```ComponentSnackPlayer path=components,primitives,Box,basic.tsx

```

<br/>

### Composition

```ComponentSnackPlayer path=primitives,Box,composition.tsx
```ComponentSnackPlayer path=components,primitives,Box,composition.tsx

```

Expand Down Expand Up @@ -118,7 +118,7 @@ export default () => {

### Basic (With Ref)

```ComponentSnackPlayer path=primitives,Box,WithRef.tsx
```ComponentSnackPlayer path=components,primitives,Box,WithRef.tsx

```

Expand Down
Loading