https://github.com/codenameyau/react-cartesian
React Cartesian Product component
https://github.com/codenameyau/react-cartesian
cartesian cartesian-product component react
Last synced: 2 months ago
JSON representation
React Cartesian Product component
- Host: GitHub
- URL: https://github.com/codenameyau/react-cartesian
- Owner: codenameyau
- License: mit
- Created: 2020-02-17T07:32:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T07:34:33.000Z (over 3 years ago)
- Last Synced: 2025-11-27T09:44:37.022Z (5 months ago)
- Topics: cartesian, cartesian-product, component, react
- Language: JavaScript
- Homepage:
- Size: 482 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-cartesian
React Cartesian Product component. This will render all possible prop
combinations for a component and is useful in conjunction with storybook.
https://www.npmjs.com/package/react-cartesian
## Features

Can copy JSX of component with a single click.
## Getting started
```bash
npm install --save react-cartesian
```
```bash
yarn add react-cartesian
```
### Usage
```js
import React from 'react';
import Cartesian from 'react-cartesian';
const ExampleCartesian = () => {
return (
)
};
```
## Publishing to NPM
Here's how to publish this package to NPM.
### Automated
Run this script on a **clean branch** and enter two factor code.
```bash
npm run deploy
```
### Manually
You can also publish manually by running these steps.
```bash
# Run unit tests.
npm run test
# Build module.
npm run build
# Bump patch version.
npm version patch
# Publish package to npm with two factor code.
npm publish
```