Skip to content

Commit

Permalink
Document requirement of an ES2015 polyfill. (#870)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal authored May 24, 2018
1 parent eec5b49 commit 12f3037
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wiki/consuming.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Test utilities are published from the `lib/test` directory.
import { findTestSubject } from '@elastic/eui/lib/test';
```

## Requirements

EUI expects that you polyfill ES2015 features, e.g. [`babel-polyfill`](https://babeljs.io/docs/usage/polyfill/). Without an ES2015 polyfill your app might throw errors on certain browsers.

## Using EUI in Kibana

The EUI CSS is included in [Kibana's](https://www..github.com/elastic/kibana) CSS bundle. To use EUI code in Kibana, simply import the components and services you want.
Expand Down

0 comments on commit 12f3037

Please sign in to comment.