UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

7 lines (6 loc) 792 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import styles from "./Loading.module.css"; export function Loading() { return (_jsxs("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", className: styles.spinner, "data-slot": "icon", children: [_jsx("title", { children: "Loading..." }), _jsx("circle", { className: styles.track, cx: "12", cy: "12", r: "9", pathLength: "100" }), _jsxs("g", { children: [_jsx("animateTransform", { attributeName: "transform", attributeType: "xml", type: "rotate", from: "0 12 12", to: "360 12 12", dur: "0.5s", repeatCount: "indefinite" }), _jsx("circle", { className: styles.indicator, cx: "12", cy: "12", r: "9", pathLength: "100" })] })] })); } export const LOADING = _jsx(Loading, {}, "loading");