The project is in a healthy, maintained state
A ViewComponent extension for working with component props. Functionality is in active development.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 6.0, < 9.0
>= 3.0, < 5.0
 Project Readme

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 install

Usage

Coming soon.

Development

After checking out the repo, run:

bin/setup

Run the test suite:

bundle exec rspec

Run the linter:

bundle exec rubocop

Contributing

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.