private static VNode RenderDropdownTitle(DropdownComponent <T> state, string title)
 {
     return(Row(
                Styles.TabNameTagNoWidthMargin & Styles.FlexRow & Styles.W8C,
                Text(title, Styles.FlexStart),
                DOM.Icon(!state.IsSelected ? "fas fa-chevron-circle-right" : "fas fa-chevron-circle-down")
                ).WithOnclick(() => state.IsSelected = !state.IsSelected));
 }
 private static VNode RenderDropdownEntries(DropdownComponent <T> state, IEnumerable <T> content, Action <T> selectEntry, Func <T, VNode> render, int pageSize)
 {
     selectEntry += _ => state.IsSelected = false;
     return(Div(
                Styles.Dropdown & Styles.MX2,
                PaginationComponent <T> .Render(content, s => render(s), selectEntry, pageSize)
                ));
 }