# FilterBar

This is the filter component for graphs.

- `options` – array of objects whose keys include `label` and `value`
- `onChange` – change handler callback, whose only argument will be the `value` of the selected option
- `selectedValue` – optional pre-selected value

```jsx
<FilterBar
  onChange={(value) => { doSomething(value); }}
  options={[
    { value: 'm1', label: '1 month' },
    { value: 'm6', label: '6 months' },
    { value: 'm6', label: <FormattedMessage id='path:to:localized:string' /> },
  ]}
/>
```
