2.2.0 • Published 3 years ago

@happyfresh/spinner v2.2.0

Weekly downloads
7
License
MIT
Repository
-
Last release
3 years ago

Spinner

Spinner animation for loading/data fetching. This current version only available for one size (16x16)px. You can also insert color props and/or styles props to override css.

Installation

yarn add @happyfresh/spinner

Usage

import React from 'react';
import { Spinner } from './src/index';

export const Example = () => (
  <React.Fragment>
    <Spinner styles={{ padding: '16px' }}/>
    <Spinner color='green' styles={{ padding: '16px' }}/>
  </React.Fragment>
);
2.2.0

3 years ago

2.1.0

3 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.0

4 years ago