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,280 of 197,085
Downloads: 1,495

Daily

Ranking: 55,182 of 197,066
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,443,326,435activesupport
34901,644,522activemodel
86163,915,098view_component

Owners

#GravatarHandle
1iconkinnell