Previews

No matching results.

x
1
2
3
4
<button id="button-preview" aria-labelledby="tooltip-61e7caf3-39c2-43dc-992c-da6cace0d85b" type="button" data-view-component="true" class="Button Button--iconOnly Button--secondary Button--medium"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus Button-visual">
<path d="M7.75 2a.75.75 0 0 1 .75.75V7h4.25a.75.75 0 0 1 0 1.5H8.5v4.25a.75.75 0 0 1-1.5 0V8.5H2.75a.75.75 0 0 1 0-1.5H7V2.75A.75.75 0 0 1 7.75 2Z"></path>
</svg>
</button><tool-tip id="tooltip-61e7caf3-39c2-43dc-992c-da6cace0d85b" for="button-preview" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Button</tool-tip>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Sets default href to `a`, to ensure it's keyboard interactive and proper markup
if tag == :a && href.nil?
href = "#"
end
render(Primer::Beta::IconButton.new(
scheme: scheme,
size: size,
id: id,
tag: tag,
disabled: disabled,
inactive: inactive,
icon: icon,
"aria-label": aria_label,
show_tooltip: show_tooltip,
href: href
))
Param Description Input

No assets to display.