With margin bottom
Allows the spacing at the bottom of the component to be adjusted.
This accepts a number from 0
to 9
(0px
to 60px
) using the GOV.UK Frontend spacing scale. It defaults to having no margin bottom.
How it looks (preview)
1 partridge in a pear tree
How to call this example
<%= render "components/filter_panel", {
result_text: "1 partridge in a pear tree",
button_text: "Loooooads of space",
margin_bottom: 9
} %>