Categories: None [Edit]

view_component-props

https://rubygems.org/gems/view_component-props
https://github.com/kinnell/view_component-props
A ViewComponent extension that adds a `prop` DSL with defaults, fallbacks, required props, casting, enum validation, custom validators, and a pluggable caster registry. Patches ViewComponent::Base via a Rails Railtie (or on require outside Rails) so components accept a props hash out of the box.

Total

Ranking: 185,264 of 199,228
Downloads: 1,854

Daily

Ranking: 117,677 of 199,184
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
61,493,482,686activesupport
34933,451,404activemodel
84467,750,834view_component

Owners

#GravatarHandle
1iconkinnell