Choices/src/scripts/actions/groups.js
Konstantin Vyatkin 172366d6fa [Tooling] Expand browsers target while keeping Polyfills under control (#709)
* expand browsers target

* add eslint-plugin-compat

* sort polyfils

* adjust readme

* add polyfills sync check action

* only build js

* trim

* add Element.prototype.closest

* add closest to demo links

* fix ignore
2019-10-29 18:19:19 +00:00

10 lines
179 B
JavaScript

import { ACTION_TYPES } from '../constants';
export const addGroup = (value, id, active, disabled) => ({
type: ACTION_TYPES.ADD_GROUP,
value,
id,
active,
disabled,
});