"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.listItemBehavior = void 0;
var selectableListItemBehavior_1 = require("./selectableListItemBehavior");
var basicListItemBehavior_1 = require("./basicListItemBehavior");
var navigableListItemBehavior_1 = require("./navigableListItemBehavior");
/**
 * @description
 * Defines a behavior "BasicListItemBehavior" or "SelectableListItemBehavior" based on "selectable" property.
 */
var listItemBehavior = function (props) {
    return props.selectable
        ? selectableListItemBehavior_1.selectableListItemBehavior(props)
        : props.navigable
            ? navigableListItemBehavior_1.navigableListItemBehavior(props)
            : basicListItemBehavior_1.basicListItemBehavior(props);
};
exports.listItemBehavior = listItemBehavior;
