0.0.63 • Published 3 years ago

@chastnr-org/components v0.0.63

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

@chastnr-components

How to install

npm install @chastnr-org/components
yarn add @chastnr-org/components

How to use

Import styles in root index file

import { StrictMode } from 'react';
import { render } from 'react-dom';

import App from './App';

import '@chastnr-org/components/dist/index.scss';
// or
import '@chastnr-org/components/dist/index.css';

const root = document.getElementById('root');

render(
  <StrictMode>
    <App />
  </StrictMode>,
  root
);

or you can add styles in your styles file

@import '~@chastnr-org/components/dist/index.scss';
// or
@import '~@chastnr-org/components/dist/index.css';
@import './fonts.scss';
@import './root.scss';

Now you are ready to use components

import { Checkbox, Input } from '@chastnr-org/components';

const App = () => {
  const [value, setValue] = useState('');

  return (
    <>
      <Input label="Test label" onChange={setValue} value={value} />
      <Checkbox />
    </>
  );
};

Contributing

I welcome all contributions. You can submit any ideas as pull requests or as GitHub issues. If you'd like to improve code, check out the Development Instructions and have a good time! :)

0.0.62

3 years ago

0.0.63

3 years ago

0.0.60

3 years ago

0.0.61

3 years ago

0.0.59

3 years ago

0.0.51

3 years ago

0.0.52

3 years ago

0.0.53

3 years ago

0.0.54

3 years ago

0.0.55

3 years ago

0.0.56

3 years ago

0.0.57

3 years ago

0.0.58

3 years ago

0.0.50

3 years ago

0.0.49

3 years ago

0.0.48

3 years ago

0.0.40

4 years ago

0.0.41

4 years ago

0.0.42

4 years ago

0.0.43

4 years ago

0.0.44

4 years ago

0.0.45

4 years ago

0.0.46

4 years ago

0.0.47

4 years ago

0.0.38

4 years ago

0.0.39

4 years ago

0.0.37

4 years ago

0.0.36

4 years ago

0.0.35

4 years ago

0.0.33

4 years ago

0.0.34

4 years ago

0.0.30

4 years ago

0.0.32

4 years ago

0.0.29

4 years ago

0.0.28

4 years ago

0.0.24

4 years ago

0.0.25

4 years ago

0.0.26

4 years ago

0.0.20

4 years ago

0.0.21

4 years ago

0.0.22

4 years ago

0.0.23

4 years ago

0.0.18

4 years ago

0.0.19

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.11

4 years ago

0.0.12

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