/**
 * Spinner primitive — loading indicator
 * Sizes: sm (16px), md (24px), lg (40px)
 */
const { html } = window;

export function Spinner({ size = 'md' }) {
    return html`<span class="sw-spinner sw-spinner--${size}" role="status" aria-label="Loading" />`;
}
