react-toggleable-context
Version:
React components to make anything expandable
11 lines • 344 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
function without(array, item) {
return array.filter(function (i) { return i !== item; });
}
exports.without = without;
function normalizeId(id) {
return (id && id.replace(/^#/, '')) || '';
}
exports.normalizeId = normalizeId;
//# sourceMappingURL=utils.js.map