import * as css from '../theme/default/loading-indicator.m.css';
import theme from '../middleware/theme';
import { create, tsx } from '@dojo/framework/core/vdom';
const factory = create({ theme }).properties();
export const LoadingIndicator = factory(function LoadingIndicator({ middleware: { theme } }) {
    const classes = theme.classes(css);
    return (tsx("div", { classes: [theme.variant(), classes.root], role: "progressbar" },
        tsx("div", { classes: classes.buffer }),
        tsx("div", { classes: [classes.bar, classes.primary] },
            tsx("span", { classes: classes.inner }))));
});
export default LoadingIndicator;

/*# sourceMappingURL=index.mjs.map*/