ViewComponent::Props
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.
Requirements
- Ruby >= 3.0
- ViewComponent >= 3.0
Installation
Add this line to your application's Gemfile:
gem "view_component-props"And then execute:
bundle installUsage
Coming soon.
Development
After checking out the repo, run:
bin/setupRun the test suite:
bundle exec rspecRun the linter:
bundle exec rubocopContributing
Bug reports and pull requests are welcome on GitHub at https://github.com/kinnell/view_component-props.
License
The gem is available as open source under the terms of the MIT License.