Skip to content

Commit

Permalink
feat(blazor): allow override FormComponent and DisplayComponent in in…
Browse files Browse the repository at this point in the history
…heritors
  • Loading branch information
SonicGD committed Sep 8, 2021
1 parent ce46946 commit cc90981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Sitko.Blockly.Blazor/BlazorBlockDescriptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected BlazorBlockDescriptor(ILocalizationProvider<TBlock> localizationProvid
}

public abstract RenderFragment Icon { get; }
public Type FormComponent => typeof(TFormComponent);
public Type DisplayComponent => typeof(TDisplayComponent);
public virtual Type FormComponent => typeof(TFormComponent);
public virtual Type DisplayComponent => typeof(TDisplayComponent);
}
}

0 comments on commit cc90981

Please sign in to comment.