Example
Some content
Bulmacomp is a ViewComponent collection for Bulma css framework.
Bulmacomp provide a “view component” for each bulma component:
and generic rails components * Turbo Frame - Bulmacomp::TurboFrameComponent
Add this line to your application’s Gemfile:
“by gem “bulmacomp”
“
And then execute:
“sh $ bundle
“
Or install it yourself as:
“sh $ gem install bulmacomp
“
Bulmacomp provide standard view components. You can simply render of a new instance of the components with your parameters:
“by render Bulmacomp::MessageComponent.new(title: ‘example’, close: true, close_options: ‘close’) do Some content end
“eturns
“ml
“ou can get more details from View Component site and Bulmacom documentation
Issues, forks and pull requests are welcomed
The gem is available as open source under the terms of the MIT License.