You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ This provides a simpler alternative to nesting partials.
49
49
The recommended approach is to subclass Arbre::Component and implement a new builder method.
50
50
51
51
The builder_method defines the method that will be called to build this component
52
-
when using the DSL. The arguments passed into the builder_method will be passed
52
+
when using the DSL. The arguments passed into the builder_method will be passed
53
53
into the #build method for you.
54
54
55
55
For example:
@@ -66,7 +66,7 @@ class Panel < Arbre::Component
66
66
end
67
67
```
68
68
69
-
By default components are `div` tags with an HTML class corresponding to the component class name. This can be overridden by redefining the `tag_name` method.
69
+
By default, components are `div` tags. This can be overridden by redefining the `tag_name` method.
70
70
71
71
Several examples of Arbre components are [included in Active Admin](https://activeadmin.info/12-arbre-components.html)
72
72
@@ -76,7 +76,7 @@ An [Arbre::Context](http://www.rubydoc.info/gems/arbre/Arbre/Context) is an obje
0 commit comments