Skip to content

Commit

Permalink
version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
atellmer committed Feb 15, 2023
1 parent 94355b0 commit b1ef5eb
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dark-engine/core",
"version": "0.18.1",
"version": "0.18.2",
"description": "Dark is lightweight UI rendering engine for javascript apps without dependencies and written in TypeScript (Browser, Node.js, Android, iOS) 💫",
"author": "AlexPlex",
"license": "MIT",
Expand Down
3 changes: 3 additions & 0 deletions packages/native-navigation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const App = createComponent(() => {
);
});
```

## Navigation via `TabNavigator`

The `TabNavigator` is a wrapper around the `StackNavigator` that displays tab buttons at the bottom to control screens. Using the `StackNavigator` wrapping approach, you can also implement a navigation strategy through a Drawer or Modal.
Expand All @@ -76,6 +77,8 @@ const App = createComponent(() => {
});
```

You can customize Tabs view through passing `bottomNavigationOptions` to `TabNavigator.Root` and `renderTab` to `TabNavigator.Screen` to render tabs with icons.

## Navigating to screen

To navigate to a new screen, you need to use the `navigateTo` method, which provided by the `useNavigation` hook.
Expand Down
2 changes: 1 addition & 1 deletion packages/native-navigation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dark-engine/native-navigation",
"version": "0.18.1",
"version": "0.18.2",
"description": "Dark navigation for NativeScript platform",
"author": "AlexPlex",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dark-engine/platform-browser",
"version": "0.18.1",
"version": "0.18.2",
"description": "Dark renderer for browser",
"author": "AlexPlex",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dark-engine/platform-native",
"version": "0.18.1",
"version": "0.18.2",
"description": "Dark renderer to native platforms like Android and iOS via NativeScript",
"author": "AlexPlex",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dark-engine/platform-server",
"version": "0.18.1",
"version": "0.18.2",
"description": "Dark renderer for server",
"author": "AlexPlex",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/web-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dark-engine/web-router",
"version": "0.18.1",
"version": "0.18.2",
"description": "The isomorphic Dark router designed for rendering universal web applications that work both on the client and on the server",
"author": "AlexPlex",
"license": "MIT",
Expand Down

0 comments on commit b1ef5eb

Please sign in to comment.