# Coupon

To implement Coupon component into your project you'll need to add the import:

```jsx
import { Coupon } from '@kiwicom/orbit-react-native';
```

After adding import into your project you can use it simply like:

```jsx
<Coupon>PromotionCode</Coupon>
```

## Props

Table below contains all types of the props available in the Coupon component.

| Name         | Type         | Default | Description                                                                                                    |
| :----------- | :----------- | :------ | -------------------------------------------------------------------------------------------------------------- |
| testID       | `string`     |         | Optional prop for testing purposes. (This disables the 'layout-only view removal' optimization for this view!) |
| **children** | `React.Node` |         | The content of the Coupon.                                                                                     |

## Notes

@TODO: In the RN v0.60 it should be possible to wrap View in Text.
