@inherits MSGComponentBase @if (this.EnableDragDrop) { @this.Picker @T("You can also drag & drop the folder here.") } else { @this.Picker } @code { private RenderFragment Picker => @ @T("Choose Directory") ; }