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: 186,300 of 197,051
Downloads: 1,489

Daily

Ranking: 22,079 of 197,010
Downloads: 11

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,442,365,801activesupport
34901,017,034activemodel
86263,858,406view_component

Owners

#GravatarHandle
1iconkinnell