@devtravelcode/widget-native 1.0.1 → 1.0.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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,8 +68,8 @@ export default function App() {
|
|
|
68
68
|
| Prop | Type | Required | Default | Description |
|
|
69
69
|
|------|------|----------|---------|-------------|
|
|
70
70
|
| `token` | `string` | Yes | — | API token from your widget settings |
|
|
71
|
-
| `lang` | `string` | No | `"en"` | Language (`"en"`, `"ru"
|
|
72
|
-
| `currency` | `string` | No | `"USD"` | Currency code (`"USD"`, `"
|
|
71
|
+
| `lang` | `string` | No | `"en"` | Language (`"en"`, `"ru"`) |
|
|
72
|
+
| `currency` | `string` | No | `"USD"` | Currency code (`"USD"`, `"GBP"`, `"EUR"`) |
|
|
73
73
|
| `onFlightSelect` | `(flight) => void` | No | — | Callback when user selects a flight |
|
|
74
74
|
| `onHotelSelect` | `(hotel) => void` | No | — | Callback when user selects a hotel |
|
|
75
75
|
| `style` | `ViewStyle` | No | — | Custom container style |
|