Skip to content

Commit

Permalink
docs: fix typo and add disabled button example
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjuanes authored May 31, 2022
1 parent 1473529 commit cbec397
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/elements/button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ You can style your button using the secondary color of your theme with the mofid
<button class="button is-secondary">Secondary button</button>
```

You can style a button as disabled using the `is-disabled` modifier and adding a `disabled` attribute to the button:

```html live=true
<button class="button is-disabled">Disabled button</button>
```

We also provide the `is-full` modifier to change the button width to the **full parent width**:

```html live=true
<button class="button is-full">
Ful width button
</button>
<button class="button is-full">Full width button</button>
```

### Customize
Expand Down

0 comments on commit cbec397

Please sign in to comment.