New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tmaito-progress

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tmaito-progress

react component progress

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Installation

npm

npm install tmaito-progress --save

yarn

yarn add tmaito-progress
  • Also install tmaito-progress for css
import "tmaito-progress/libs/index.css";

Example

import React, { Component } from 'react';
import Progress from 'tmaito-progress'
import 'tmaito-progress/libs/index.css';

const { item } = Carousel;

class ProgressDemo extends Component {
  render() {
    return (
      <div className="examples">
        <Progress type='pie' percent={33} />
      </div>
    );
  }
}
export default ProgressDemo;
参数说明类型可选值默认值
percent百分比number—-0

pie 饼图进度条

参数说明类型默认值
width圆形宽度number120
height圆形高度number120
bgColor圆形背景色string#e9f2fd
fillColor圆形填充色string#4393f8

Keywords

react

FAQs

Package last updated on 21 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts