@awsui/components-react
Version:
AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A
10 lines (9 loc) • 447 B
JavaScript
import { __assign, __rest } from "tslib";
import React from 'react';
import InternalStatusIndicator from './internal';
import { useTelemetry } from '../internal/hooks/use-telemetry';
export default function StatusIndicator(_a) {
var _b = _a.type, type = _b === void 0 ? 'success' : _b, rest = __rest(_a, ["type"]);
useTelemetry('StatusIndicator');
return React.createElement(InternalStatusIndicator, __assign({ type: type }, rest));
}