x
1
2
3
4
<button id="button-preview" type="button" data-view-component="true" class="Button--secondary Button--medium Button"> <span class="Button-content"> <span class="Button-label">Button</span> </span></button>
No notes provided.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Sets default href to `a`, to ensure it's keyboard interactive and proper markupif tag == :a && href.nil? href = "#"endrender(Primer::Beta::Button.new( scheme: scheme, size: size, block: block, id: id, align_content: align_content, tag: tag, disabled: disabled, inactive: inactive, label_wrap: label_wrap, href: href )) do |_c| "Button"end
Param | Description | Input |
---|---|---|
— |
|
|
— |
|
|
— |
|
|
— |
|
|
— |
|
|
— |
|
|
— |
|
|
— |
|