custom-components-lib-23
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Custom-components-lib

This is the implementation of a custom components library similar to mui components

How to run the app:

  1. Install:
npm i custom-components-lib-23

https://www.npmjs.com/package/custom-components-lib-23?activeTab=readme

  1. Import Components into project with necessary props.

The Technologies used:

  • Webpack,
  • TypeScript,
  • ESLint, Prettier, pre-commit hook,
  • React,
  • SCSS modules,
  • Storybook,
  • Jest, react testing library for unit tests,

Set of components:

  1. Button - similar to https://mui.com/material-ui/react-button/ Props:
  • variant: 'text' | 'contained' | 'outlined' , contained as default;
  • disabled;
  • onClick;
  • size: 'small' | 'medium' | 'large';
  1. TextField - https://mui.com/material-ui/react-text-field/ Props:
  • variant: 'outlined' | 'filled' | 'standart';
  • error;
  • errorText;
  • label;
  • disabled;
  1. Select - https://mui.com/material-ui/react-select/ Props:
  • label;
  • disabled;
  • options;
  • onChange (method for getting selected option in a component);
  • selected (passed selected option to component from parent component);
  1. Checkbox - https://mui.com/material-ui/react-checkbox/ Props:
  • checked;
  • label;
  • color;
  • disabled;
  • onChange;
  1. Switch- https://mui.com/material-ui/react-switch/ Props:
  • checked;
  • onChange;
  • disabled;
  • label;
  1. Modal - https://mui.com/material-ui/react-modal/ Props:
  • open;
  • onClose;
  • children;

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.50latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i custom-components-lib-23

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

167 kB

Total Files

21

Last publish

Collaborators

  • pylkonata