oit-component-template

1.0.1 • Public • Published

Useage

install

npm i oit-component-template
or
yarn add oit-component-template
import React from "react";
import Permission from "oit-component-template";
import { Button, Text, H3 } from "@tencent/tea-component";

function index() {
  return (
    <Permission
      type="content"
      title={<H3>暂无权限,申请后即可使用数据管理与合规治理服务。</H3>}
      description={
        <Text theme="label">
          数据管理与合规治理服务,能帮助使用者对元数据、数据日志以及数据权限审批进行统一管理,为游戏产品提供数据合规处理相关能力。
        </Text>
      }
      style={{ width: "550px" }}
      label={
        <div>
          <Button type="primary">提交申请</Button>
        </div>
      }
    />
  );
}

export default index;

props

Name Description
className string (Permission className)
title node (Permission title)
description node (Permission description)
thumb string (Permission thumb)
label node (Permission label)
style style (Permission style)
type string (default default)

Dependents (0)

Package Sidebar

Install

npm i oit-component-template

Weekly Downloads

3

Version

1.0.1

License

ISC

Unpacked Size

31.8 kB

Total Files

9

Last publish

Collaborators

  • ppdesign