Files
StarPilot/openpilot/starpilot/galaxy/web/js/icon-button.js
T
firestar5683 00364fd645 Galaxy Access
Separate Galaxy authentication and local access policy from web presentation.

Co-authored-by: Danny <dannyirwin31@yahoo.com>
Co-authored-by: Prabhaav Pillai <prabhaav@msu.edu>
Co-authored-by: dirwin31 <83434411+dirwin31@users.noreply.github.com>
Co-authored-by: firestarsdog <229254897+firestarsdog@users.noreply.github.com>
2026-10-14 19:56:17 -05:00

10 lines
405 B
JavaScript

// Familiar actions share a full touch target, accessible name and tooltip.
export const GxIconButton = {
name: "GxIconButton",
props: {
label: { type: String, required: true },
icon: { type: String, required: true },
},
template: `<button type="button" class="gx-icon-btn gx-action-icon" :aria-label="label" :title="label"><i class="bi" :class="icon" aria-hidden="true"></i></button>`,
}