Created
November 1, 2023 14:09
-
-
Save jonhilt/28eb96e1cf0a9cb6aeaac3a3352344f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<MyFancyReusableBusinessLogic> | |
<MyOtherComponent /> | |
</MyFancyReusableBusinessLogic> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section> | |
@ChildContent | |
</section> | |
@ code { | |
[Parameter] | |
public RenderFragment ChildContent { get; set; } | |
// business logic to affect the <section> element | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Hi!</h1> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment