@alicloud/console-components-status-indicator

React component for Alibaba Cloud.

Usage no npm install needed!

<script type="module">
  import alicloudConsoleComponentsStatusIndicator from 'https://cdn.skypack.dev/@alicloud/console-components-status-indicator';
</script>

README

@alicloud/console-components-status-indicator

基本用法

指定 type 即可获得标准的状态指示器: $XView

圆点型指示器: $XView

建议遵循控制台视觉规范,使用默认的 icon 型指示器

自定义 icon: $XView

APIs

StatusIndicator 组件接受的 Props: $XView

export type StatusType =
  | 'success'
  | 'warning'
  | 'error'
  | 'loading'
  | 'disabled'

export type ShapeType = 'dot' | 'icon'