# present()

> Opens the measuring / try-on window for a product.

Source: https://docs.tryyoursize.com/reference/react-native/present/

*Function* · `@tryyoursize/react-native`

Opens the measuring / try-on window for a product.

```ts
function present(product: string, step?: OpenStep): void
```

## Parameters

- **`product`** (`string`, required): Your product ID or SKU.
- **`step`** (`OpenStep`, optional): `"create"`, `"improve"` or `"view"`.

## Example

**React Native**

```tsx
present("SKU-123");                             // or present("SKU-123", "view")
```

**Swift**

```swift
tys.present(product: "SKU-123")                 // or step: .view, from: viewController
```

**Kotlin**

```kotlin
tys.present(activity, "SKU-123")                // or step = OpenStep.VIEW
```

**Flutter**

```dart
await tys.present('SKU-123');                   // or step: OpenStep.view
```
