mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-15 09:44:49 +08:00
Reference pin style
This commit is contained in:
14
js/template/ReferencePinTemplate.js
Normal file
14
js/template/ReferencePinTemplate.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import { html } from "lit"
|
||||
import PinTemplate from "./PinTemplate"
|
||||
|
||||
export default class ReferencePinTemplate extends PinTemplate {
|
||||
|
||||
/** @param {PinElement} pin */
|
||||
renderIcon(pin) {
|
||||
return html`
|
||||
<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
||||
<polygon class="ueb-pin-tofill" points="4 16 16 4 28 16 16 28" stroke="currentColor" stroke-width="5" />
|
||||
</svg>
|
||||
`
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user