---
name: 入口枚举
route: /IOTCordEntryEnum
menu: 组件
---
import { CodeBox } from '../../doc-comps/code-box';
import MyTheme from '../../doc-comps/theme';
import { Playground, Props } from 'docz'
import IOTCordEntryEnum from './IOTCordEntryEnum';

import BasicDemo from './demo/1-demo-basic';
import BasicDemoCode from '!raw-loader!./demo/1-demo-basic.tsx';
import style from '!raw-loader!./style/index.less';
import theme from '!raw-loader!../../base/theme.css';

# 入口枚举

  枚举切换

## 代码演示

### 基本用法

<CodeBox code={BasicDemoCode} title="基本用法" desc="使用kind控制Alert类型">
  <BasicDemo />
</CodeBox>

## API
<Props of={IOTCordEntryEnum}/>

## 主题设置
<MyTheme style={style} oldTheme={theme}/>