Skip to content

Commit b6bcb2f

Browse files
committed
Fixed typos in docs
1 parent c6a3a9a commit b6bcb2f

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ Here are some key concepts of the library, more details can be found in the docu
6464

6565
### Decompose is a library
6666

67-
Decompose is a library that can be used as a framework. In its core, Decompose just manipulates instances of `ComponentContext` with strict parent-child relationship, which is also called "navigation". The possibility of creating custom implementations of the `ComponentContext` interface allows adding custom properties and functions, as well as storing additional data in each instance of `ComponentContext. This makes it a very powerful tool with various use cases.
67+
Decompose is a library that can be used as a framework. In its core, Decompose just manipulates instances of `ComponentContext` with strict parent-child relationship, which is also called "navigation". The possibility of creating custom implementations of the `ComponentContext` interface allows adding custom properties and functions, as well as storing additional data in each instance of `ComponentContext`. This makes it a very powerful tool with various use cases.
6868

69-
The "component" term is just one of the possible usages, the recommended one. The [Decompose-Router](https://github.com/xxfast/Decompose-Router) library is a great example of leveraging Decompose to create a custom navigation solution a with completely different API.
69+
The "component" term is just one of the possible usages, the recommended one. The [Decompose-Router](https://github.com/xxfast/Decompose-Router) library is a great example of leveraging Decompose to create a custom navigation solution with a completely different API.
7070

7171
### Component hierarchy
7272

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ Decompose is a Kotlin Multiplatform library for breaking down your code into lif
2929

3030
### Decompose is a library
3131

32-
Decompose is a library that can be used as a framework. In its core, Decompose just manipulates instances of [ComponentContext](https://arkivanov.github.io/Decompose/component/overview/#componentcontext) with strict parent-child relationship, which is also called "navigation". The possibility of creating custom implementations of the `ComponentContext` interface allows adding custom properties and functions, as well as storing additional data in each instance of `ComponentContext. This makes it a very powerful tool with various use cases.
32+
Decompose is a library that can be used as a framework. In its core, Decompose just manipulates instances of [ComponentContext](https://arkivanov.github.io/Decompose/component/overview/#componentcontext) with strict parent-child relationship, which is also called "navigation". The possibility of creating custom implementations of the `ComponentContext` interface allows adding custom properties and functions, as well as storing additional data in each instance of `ComponentContext`. This makes it a very powerful tool with various use cases.
3333

34-
The "component" term is just one of the possible usages, the recommended one. The [Decompose-Router](https://github.com/xxfast/Decompose-Router) library is a great example of leveraging Decompose to create a custom navigation solution a with completely different API.
34+
The "component" term is just one of the possible usages, the recommended one. The [Decompose-Router](https://github.com/xxfast/Decompose-Router) library is a great example of leveraging Decompose to create a custom navigation solution with a completely different API.

docs/navigation/overview.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
Decompose provides the ability to create [permanent child components](../navigation/stack/overview.md) using the `childStack` extension function. But if you need to dynamically switch child components, then navigation comes in handy.
44

5-
Currently, Decompose provides two predefined navigation models:
5+
Currently, Decompose provides several predefined navigation models:
66

7-
- [Child Stack](../navigation/stack/overview.md) - prefer this way if you need to organize child components in a stack and navigate between them.
8-
- [Child Slot](../navigation/slot/overview.md) - prefer this way if you need to activate-dismiss one child component at a time.
9-
- [Child Pages](../navigation/pages/overview.md) - prefer this way if you need to organize child components in a list with one selected component.
7+
- [Child Stack](../navigation/stack/overview.md) - if you need to organize child components in a stack and navigate between them.
8+
- [Child Slot](../navigation/slot/overview.md) - if you need to activate-dismiss one child component at a time.
9+
- [Child Pages](../navigation/pages/overview.md) - if you need to organize child components in a list with one selected component.
10+
- [Child Panels](../navigation/panels/overview.md) - if you need to organize child components in a multi-pane mode with dynamic switching.
1011

11-
If none of this fit your needs, Decompose introduces [Generic Navigation](https://arkivanov.github.io/Decompose/navigation/children/overview/) that can be used to create your own custom navigation models.
12+
If none of this fit your needs, Decompose provides [Generic Navigation](https://arkivanov.github.io/Decompose/navigation/children/overview/) that can be used to create your own custom navigation models.
1213
It offers a flexible API and allows you to create almost any kind of navigation.
1314

1415
It is possible to have more than one navigation model in a parent component. Make sure that you supplied different keys (the `key` argument) if you have two or more navigation models of the same kind (e.g. you have two `Child Stacks` in one parent component).

0 commit comments

Comments
 (0)