# GreetingOptions

class GreetingOptions : Record

Options for [Greeter.greet](<https://rasmuskard.github.io/rn-cross-platform-docs/kotlin/expo-greeter/expo.modules.greeter/-greeter/greet/index.md>), also passed from JavaScript to `hello`.

## Constructors

|  |  |
| --- | --- |
| [GreetingOptions](<https://rasmuskard.github.io/rn-cross-platform-docs/kotlin/expo-greeter/expo.modules.greeter/-greeting-options/-greeting-options/index.md>) | constructor()<br>Creates options with the defaults. |

## Properties

| Name | Summary |
| --- | --- |
| [excited](<https://rasmuskard.github.io/rn-cross-platform-docs/kotlin/expo-greeter/expo.modules.greeter/-greeting-options/excited/index.md>) | var [excited](<https://rasmuskard.github.io/rn-cross-platform-docs/kotlin/expo-greeter/expo.modules.greeter/-greeting-options/excited/index.md>): [Boolean](<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html>)<br>Ends the greeting with `!` instead of `.`. Defaults to `false`. |
| [name](<https://rasmuskard.github.io/rn-cross-platform-docs/kotlin/expo-greeter/expo.modules.greeter/-greeting-options/name/index.md>) | var [name](<https://rasmuskard.github.io/rn-cross-platform-docs/kotlin/expo-greeter/expo.modules.greeter/-greeting-options/name/index.md>): [String](<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>)<br>Who to greet. Defaults to [Greeter.DEFAULT\_NAME](<https://rasmuskard.github.io/rn-cross-platform-docs/kotlin/expo-greeter/expo.modules.greeter/-greeter/-d-e-f-a-u-l-t_-n-a-m-e/index.md>), `"world"`. |
