"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var react_redux_1 = require("react-redux");
var PaletteView_1 = require("../components/PaletteView");
var redux_1 = require("../redux");
var mapStateToProps = function (state) {
    return {
        nib: state.mode.nib,
        tileSet: state.palette.tileSet
    };
};
var mapDispatchToProps = function (dispatch) {
    return {
        setSelection: function (selection) { return dispatch(redux_1.palette.actions.setSelection(selection)); }
    };
};
exports.default = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(PaletteView_1.PaletteView);
//# sourceMappingURL=PaletteView.js.map