import React__default from 'react';
import classnames from 'classnames';

var styles = {"spinner":"_6hfmGZoXNyg-","animationSpin":"aT3CETCJ4hQ-","small":"bMfynkzmlL4-","inline":"NA68eWblbLo-","spinning":"aCBq1WrkI4M-"};

/**
 * @deprecated Use `ActivityIndicator` instead.
 */
function Spinner({ size = "base", inline }) {
    const spinnerStyles = classnames(styles.spinner, {
        [styles.small]: size === "small",
        [styles.inline]: inline,
    });
    return (React__default.createElement("div", { className: spinnerStyles, role: "alert", "aria-busy": true, "aria-label": "loading" }));
}

export { Spinner as S };
