Hi
The GetEnumSetting is used in the new /components documentation, but when I try to use it on a BlockPage, I get the does not exist in the current context. Where is it and how do I use it?
new Button { Id = "MyButton", ButtonLayout = GetEnumSetting(ButtonLayout.Primary), Title = Translate("Read more"), Icon = new Icon { Prefix = "fas", Name = "fa-plus", LabelPosition = IconLabelPosition.After }, OnClick = "document.getElementById('MyButtonModalTrigger').checked = false" }
Best regards
Kim