Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.0] Proposal: introduce new Heading aliases #5781

Open
stsrki opened this issue Oct 15, 2024 · 0 comments
Open

[2.0] Proposal: introduce new Heading aliases #5781

stsrki opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
Type: Feature ⚙ Request or idea for a new feature.
Milestone

Comments

@stsrki
Copy link
Collaborator

stsrki commented Oct 15, 2024

We have a Heading component. To be able to define its size, we need to define it with the Size parameter

<Heading Size="HeadingSize.Is1">h1. Blazorise heading</Heading>
<Heading Size="HeadingSize.Is2">h2. Blazorise heading</Heading>

I propose to simplify the syntax a little by introducing the new Heading1 to the Heading6 component. Essentially, they will just be inherited from the existing Heading component, with all its parameters intact. But it will be a little easier to write it down.

Example

<Heading1">h1. Blazorise heading</Heading1>
<Heading2">h2. Blazorise heading</Heading2>
@stsrki stsrki added the Type: Feature ⚙ Request or idea for a new feature. label Oct 15, 2024
@stsrki stsrki added this to the 2.0 milestone Oct 15, 2024
@stsrki stsrki self-assigned this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature ⚙ Request or idea for a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant