className={"draggable " + cls({ [s.ItemCell]: true, [s.ItemCell_exist]: img && index !== selected, [s.ItemCell_selected]: index === selected, [s.ItemCell_element]: dragging })}
const [favorite, setFavorite] = useState([]);
setFavorite(prev => [index,...prev])
<div class="container">
<app-side-bar></app-side-bar>
<div class="box">
<app-header></app-header>
<router-outlet></router-outlet>
<app-push-notification></app-push-notification>
<app-call-notification></app-call-notification>
</div>
</div>
public list?: ListItem[];
F(false, true,undefined, 'string')
function F(param1, param2, param3, param4) {}
F(false, true,'string')