Developer mode
Opens components on the React tab by default.
Your bookmarks

Coupon / React

Also known as code, promotion code

Highlights promo codes.

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

import Coupon from "@kiwicom/orbit-components/lib/Coupon";

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

<Coupon>PromotionCode</Coupon>

Props

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

Name Type Default Description
dataTest string Optional prop for testing purposes.
children React.Node The content of the Coupon.