## OPTag 组件

·API

```
interface OPTagPropsI {
  children: React.ReactNode
  type: 'primary' | 'success' | 'error' | 'warning' | 'disabled',
  color: string;
  backGroundColor: string;
  style: expandObj;
  customConfig: expandObj[],
}
```

```jsx
import React, { useState } from 'react';
import ReactDOM from 'react-dom';
import { OPTag } from '../src/view';

ReactDOM.render(
  <div>
    <OPTag>正常</OPTag>
    <OPTag type='error'>正常</OPTag>
    <OPTag type='success'>正常</OPTag>
    <OPTag type='warning'>正常</OPTag>
    <OPTag type='disabled'>正常</OPTag>
    <OPTag
      color='white'
      backGroundColor='pink'
      style={{
        'font-size': '14px',
        color: 'red',
      }}
    >
      自定义颜色
    </OPTag>
  </div>,
  mountNode,
);
```
