# displaySnippet

## Description

Displays or hides a snippet component in the application.

### Platform Supported

* Mobile
* Web

## Input / Parameter

| Name    | Description                                                                                                                        | Input Type | Default | Options     | Required |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------- | ------- | ----------- | -------- |
| snippet | The snippet component name to be used.                                                                                             | Text       | -       | -           | Yes      |
| show    | To show or hide snippet.                                                                                                           | Boolean    | false   | true, false | Yes      |
| overlay | To make sure that it precedes the current page. It works like [z-index](https://developer.mozilla.org/en-US/docs/Web/CSS/z-index). | Boolean    | true    | true, false | Yes      |

## Output

Note: The snippet will be displayed or hidden based on the action chosen.
