1.0.5 • Published 4 years ago

@geneecode/geneeui v1.0.5

Weekly downloads
55
License
MIT
Repository
github
Last release
4 years ago

Build Test Coverage NPM Dependencies Dev Dependencies Storybook Liscense Stars Issues Forks

GeneeUI

This is a React based implementation of Component Library. This project is actively being developed, so expect changes/additions. The basic usage is outlined below.

Checkout Storybook at

Goto GeneeUI

Usage

First install the library

npm i @geneecode/geneeui 

To add the styling you need to add the provided css file. How to import this varies based on your build pipeline. As an example for a simple CRA app, you would do the following:

import '@geneecode/geneeui/dist/geneeui.min.css';

After this you can import and use the components. The recommended way is to include individual components from the lib folder to reduce bundle size and allow for tree-shaking. If your pipeline allows import esnext or esm modules then see the example after this.

import React from 'react';
import Button from '@geneecode/geneeui/lib/Button';

const App: React.FC = () => {
  return (
    <div>
      <Button>Button</Button>
    </div>
  );
}

export default App;

We also provide esm and esnext builds in lib/esm and lib/es folders respectively. You may use these if your pipeline allows.

import Button from '@geneecode/geneeui/lib/esm/Button';
// or
import Button from '@geneecode/geneeui/lib/es/Button';

Development

# Build
npm run build

# Test
npm run test
npm run test:watch

# Storybook
npm run storybook
1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago