Skip to content

Commit

Permalink
Update Bulma::ProgressBarComponent to use view
Browse files Browse the repository at this point in the history
  • Loading branch information
diegotoral committed Feb 7, 2024
1 parent f1cbde7 commit ce93dc9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## [Unreleased]

- Converted default preview for `Bulma::ProgressBarComponent` to use view file
- Added support to specify content as first arggument to `Bulma::TitleComponent`
- Drop supoort for Ruby 2,7
- Updated capybara to latest version 3.40.0
Expand Down
1 change: 0 additions & 1 deletion previews/elements/progress_bar_component_preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

class Elements::ProgressBarComponentPreview < ViewComponent::Preview
def default
render Bulma::ProgressBarComponent.new 90
end

def colors
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<%= bulma_progress_bar 90 %>

0 comments on commit ce93dc9

Please sign in to comment.