StorybookEngine

Storybook with view components rails engine

Usage

Button
= render(ButtonComponent.new(options: {type: "submit"},classes: "w-100")) { "Save" }

Installation

Add this line to your application's Gemfile:

gem 'storybook_engine'

And then execute:

$ bundle

Or install it yourself as:

$ gem install storybook_engine

After add gem please add this line into your applications.scss:

@import "storybook_engine";

License

The gem is available as open source under the terms of the MIT License.