# ToastOptions

ToastOptions function documentation

**ToastOptions**(title, description, variantColor, id, isClosable, position, duration)<br></br>
Determines format of the toast.

**Parameters**

- `title`<br></br>
  **type** *`string`*<br></br>
  Toast title

- `description`<br></br>
  **type** *`string`*<br></br>
  Toast description

- `variantColor`<br></br>
  **type** *`string`*<br></br>
  Color of the toast<br></br>
  Key of [`ToastVariantColor`](https://hygraph.com/docs/app-framework/constants/constants)

- `id`<br></br>
  **type** *`string` | `number`*<br></br>
  Toast Id

- `isClosable`<br></br>
  **type** *`boolean`*<br></br>
  If true, the toast can be closed

- `position`<br></br>
  **type** *`string`*<br></br>
  Position of the toast on the screen<br></br>
  Key of [`ToastPosition`](https://hygraph.com/docs/app-framework/constants/constants)

- `duration`<br></br>
  **type** *`number`*<br></br>
  Duration of the toast on the screen

&nbsp;

&nbsp;
