@rypen-dev/react-shared-components

2.3.12 • Public • Published

@rypen-dev/react-shared-components

npm (scoped) npm bundle size (minified)

Shared styles and React ui components for Rypen projects.

Install

$ npm install @rypen-dev/react-shared-components

Usage

Shared styles

In the project's .scss file, import the shared styles from the package.

@import '~@rypen-dev/react-shared-components/scss/styles';

To reference the shared variables, include the reference line in other .scss files.

/// <reference path="../../node_modules/@rypen-dev/react-shared-components/scss/variables" />

React components

Loader

Animated circle for indicating loading state.

import { Loader } from "@rypen-dev/react-shared-components";

<script>
    ...
    render() {
        return (<div>
            <Loader />
        </div>)
    }
    ...
</script>

Readme

Keywords

none

Package Sidebar

Install

npm i @rypen-dev/react-shared-components

Weekly Downloads

2

Version

2.3.12

License

none

Unpacked Size

492 kB

Total Files

51

Last publish

Collaborators

  • rypen-dev