@zomako/elearning-components 2.0.8 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BranchingScenario/README.md +63 -4
- package/BranchingScenario/index.tsx +83 -16
- package/BranchingScenario/style.module.css +60 -0
- package/README.md +1 -1
- package/dist/elearning-components.css +1 -1
- package/dist/elearning-components.es.js +1983 -1944
- package/dist/elearning-components.umd.js +9 -9
- package/package.json +1 -1
- package/src/components/ResponsiveWrapper/.cursorrules.md +6 -0
package/package.json
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
.cursorrules
|
|
2
|
+
- All components must be written in TypeScript using .tsx files.
|
|
3
|
+
- Use CSS Modules for styling. Each component should have its own `style.module.css` file.
|
|
4
|
+
- Components must be functional components using React Hooks.
|
|
5
|
+
- All props must be documented using TSDoc comments.
|
|
6
|
+
- Generate a README.md file for each component explaining its usage and props.
|