New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

closure-react-linear-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

closure-react-linear-progress

Material Components React Linear Progress

  • 0.7.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

React Linear Progress

A React version of an MDC Linear Progress component.

Installation

npm install @material/react-linear-progress

Usage

Styles

with Sass:

import '@material/react-linear-progress/index.scss';

with CSS:

import '@material/react-linear-progress/dist/linear-progress.css';

Javascript Instantiation

import LinearProgress from '@material/react-linear-progress';
import React from 'react';

class MyApp extends React.Component {
  render() {
    return (
      <LinearProgress
        buffer={0.9}
        progress={0.8}
      />
    );
  }
}

Props

Prop NameTypeDescription
bufferNumberDecimal value between 0 and 1, sets the buffer bar width
bufferingDotsBooleanDefault false. Whether to show the buffer dots in the un-progressed section
classNameStringOptional. Additional class names to add to the root component
closedBooleanDefault false. When changed to true, closes the component
indeterminateBooleanDefault false. When set to true, renders the indeterminate variant
progressNumberDecimal value between 0 and 1, sets the progress bar width
reversedBooleanDefault false. When set to true, renders the reversed variant
tagStringDefault 'div'. The tag type to render

Sass Mixins

Sass mixins may be available to customize various aspects of the Components. Please refer to the MDC Web repository for more information on what mixins are available, and how to use them.

Advanced Sass Mixins

Keywords

FAQs

Package last updated on 26 Dec 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc