The Proton Design System components architecture is based on S.O.L.I.D principles abstracted to use them in modern React based applications. It's a set of reusable React Typescript components easy to use and custom.
In your React root application run
npm install
To have tha last version of packages please run:
npm update
Install Proton Design System modules:
npm i @e-skibinska/proton-design-system
Import modules into your app, example :
import { Modal } from "@e-skibinska/proton-design-system";
Then implement :
<Modal onClick={() => setModal(false)} isOpen={modal} className="modal">
My modal text.
</Modal>
If needed you can run the tpescript checker :
tsc
https://codesandbox.io/p/sandbox/proton-design-modal-882dtf?file=%2Fsrc%2FApp.tsx%3A63%2C10
https://www.npmjs.com/package/@e-skibinska/proton-design-system
https://edytaskibinska.github.io/proton-design-modal-doc/
npx typedoc --out docs src/main.tsx
npm publish --access public
Generated using TypeDoc