Module: Voom::Presenters::DSL::Components::Mixins::FileInputs

Included in:
Card, Content, Form, Grid::Column
Defined in:
lib/voom/presenters/dsl/components/mixins/file_inputs.rb

Instance Method Summary collapse

Instance Method Details

#file_input(**attribs, &block) ⇒ Object



7
8
9
10
# File 'lib/voom/presenters/dsl/components/mixins/file_inputs.rb', line 7

def file_input(**attribs, &block)
  self << Components::FileInput.new(parent: self,
                                    **attribs, &block)
end