Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/docs/05-components/buttons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,18 @@ Some of the button styles use a relatively light foreground color, and should on

### Sizes

Fancy larger or smaller buttons? Add `Size="Size.Large"` or `Size="Size.Small"` for additional sizes.
Fancy larger or smaller buttons? Add `Size="ButtonSize.Large"` or `Size="ButtonSize.Small"` for additional sizes.

<img src="https://i.imgur.com/Vdiyg6q.jpg" alt="Blazor Bootstrap: Button Component - Sizes" />

```cshtml showLineNumbers
<p>
<Button Color="ButtonColor.Primary" Size="Size.Large"> Large button </Button>
<Button Color="ButtonColor.Secondary" Size="Size.Large"> Large button </Button>
<Button Color="ButtonColor.Primary" Size="ButtonSize.Large"> Large button </Button>
<Button Color="ButtonColor.Secondary" Size="ButtonSize.Large"> Large button </Button>
</p>
<p>
<Button Color="ButtonColor.Primary" Size="Size.Small"> Small button </Button>
<Button Color="ButtonColor.Secondary" Size="Size.Small"> Small button </Button>
<Button Color="ButtonColor.Primary" Size="ButtonSize.Small"> Small button </Button>
<Button Color="ButtonColor.Secondary" Size="ButtonSize.Small"> Small button </Button>
</p>
```

Expand Down Expand Up @@ -385,4 +385,4 @@ HTML tooltips not supported at this moment.
}
```

[See button click events demo here.](https://demos.blazorbootstrap.com/buttons#click-events)
[See button click events demo here.](https://demos.blazorbootstrap.com/buttons#click-events)
Loading