A ViewComponent extension for working with component props.
Note
This gem is in early development. The public API is not yet stable and there is no usable functionality in this release. Documentation and examples will land alongside the first feature release.
- Ruby >= 3.0
- ViewComponent >= 3.0
Add this line to your application's Gemfile:
gem "view_component-props"And then execute:
bundle installComing soon.
After checking out the repo, run:
bin/setupRun the test suite:
bundle exec rspecRun the linter:
bundle exec rubocopBug reports and pull requests are welcome on GitHub at https://github.com/kinnell/view_component-props.
The gem is available as open source under the terms of the MIT License.