0.5.0 • Published 9 months ago

@shapla/react-components v0.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Shapla React Components

IMPORTANT: Shapla React Components is a work in progress and subject to major changes until 1.0 release.

A collection of reusable React components for rapid development.

Table of contents

Installation

Install using npm package manager

npm i @shapla/react-components

or using yarn package manager

yarn add @shapla/react-components

Usage

Here we export all components script as ES module and all style as SCSS mixins. So you need to import SCSS mixin to load style of component and also need to import ES module and use as react component.

Styles (SCSS)

// Add the following line at top of your scss file
@use "@shapla/react-components/src/index.scss" as shapla;

@include shapla.button;
@include shapla.progress;
// Include other mixins as your requirement

Javascript Instantiation

import React, { Component } from "react";
import { Button } from "@shapla/react-components";

class MyApp extends Component {
  render() {
    return <Button theme="primary">Click Me!</Button>;
  }
}

Components

0.5.0

9 months ago

0.4.0

9 months ago

0.1.0

1 year ago

0.3.0

11 months ago

0.1.2

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.4

1 year ago

0.3.1

11 months ago

0.1.3

1 year ago

0.1.5

1 year ago

1.0.0

3 years ago