mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-06 07:43:12 +02:00
172366d6fa
* 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
10 lines
179 B
JavaScript
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,
|
|
});
|