jeff-react-library-test
v1.0.8
Published
A shared library that can be reused across any Plastiq react project"
Downloads
23
Readme
React Components Library
This is the directory where library components should be defined. The components should be generic with any product specific logic to be injected. Similarly, styling should be basic and overridable/injectable.
Structure
Directory Structure
src- base directorysrc/mui- MaterialUI based componentssrc/basic- vanilla ES6 based components
Component Definition
...
Package Structure
Components defined in basic will be exported at the top-level. Components in mui will be exported under a mui namespace.
i.e.
import { credit-card-input, mui: { credit-card-input } } from '@plastiq/react-components';
or
import { credit-card-input } from '@plastiq/react-components/mui'
