Skip to content

kinnell/view_component-props

Repository files navigation

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.

About

ViewComponent extension that adds declarative prop DSL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors