@flowerforce/flower-react 3.1.2-beta.0 → 3.1.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -1
- package/dist/index.cjs.js +691 -1079
- package/dist/index.esm.js +691 -1079
- package/dist/src/components/Flower.d.ts +7 -1
- package/package.json +2 -2
package/README.md
CHANGED
@@ -103,9 +103,19 @@ export const Page = () => {
|
|
103
103
|
)
|
104
104
|
}
|
105
105
|
```
|
106
|
-
|
107
106
|
Edit on [codesandbox/](https://codesandbox.io/p/sandbox/flower-react-example-1-9wsjv7)
|
108
107
|
|
108
|
+
|
109
|
+
> In addition you can pass the prop ***initialState*** to the `<Flower>` component
|
110
|
+
|
111
|
+
This prop allows you to configure the following fields:
|
112
|
+
|
113
|
+
1) `startId`: string
|
114
|
+
2) `current`: string
|
115
|
+
3) `history`: string[]
|
116
|
+
|
117
|
+
|
118
|
+
|
109
119
|
### Navigate with routes
|
110
120
|
|
111
121
|
Additionally, it's possible to navigate between nodes by defining specific routes.
|