rx/presenters

View on GitHub
app/demo/components/fabs-mini.pom

Summary

Maintainability
Test Coverage
require_relative '../helpers/indented_grid'

Voom::Presenters.define(:fabs_mini) do
  helpers Demo::Helpers::IndentedGrid
  attach :top_nav
  attach :component_drawer
  page_title 'Float Action Button'

  indented_grid do
    # Mini Floating action buttons
    headline 'Mini FAB'
    body '*Mini size: Only used to create visual continuity with other screen elements*'
    button icon: :add, type: :fab, size: :small

    attach :code, file: __FILE__
  end
end