@jrx2-dev/react-components
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

React Components

Objective:

This is a react component library to be used on demo/poc personal projects.

Components availables:

  • ResponsiveProductItemCard (with ProductItem interface and ResponsiveProductItemCardView component to be used to get fixed design using desired responsive class)

Extras

A small animation is also applied between component layout changes, the logic is isolated in a custom hook (useFadeOnSizeChange), it provides custom class to apply at the correct time and order to trigger the animation. The style for that classes are in the Theme folder.

Storybook is also installed to visualize the components in their different states.

Considerations

The project was created using tsdx with the react-with-storybook template and configurations were made to use CSS modules, also I'm using a lazy load image library for the product image.

Readme

Keywords

none

Package Sidebar

Install

npm i @jrx2-dev/react-components

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

93.2 kB

Total Files

29

Last publish

Collaborators

  • jrx2