x
1
2
3
4
<div data-view-component="true" class="Subhead"> <div data-view-component="true" class="Subhead-heading Subhead-heading--large">My Heading</div> <div data-view-component="true" class="Subhead-description">My Description</div></div>
No notes provided.
1
2
3
4
5
6
7
8
render(Primer::Beta::Subhead.new(spacious: spacious, hide_border: hide_border)) do |component| component.with_heading(tag: heading_tag, size: heading_size, danger: heading_danger) do "My Heading" end component.with_description do "My Description" endend
Param | Description | Input |
---|---|---|
— |
|
|
— |
|
|
— |
|
|
— |
|
|
— |
|