Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/1001josias/react-roll-dice
Lightweight dice rolling to react with full customization.
https://github.com/1001josias/react-roll-dice
Last synced: about 1 month ago
JSON representation
Lightweight dice rolling to react with full customization.
- Host: GitHub
- URL: https://github.com/1001josias/react-roll-dice
- Owner: 1001Josias
- License: mit
- Created: 2023-10-05T14:24:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-09T01:01:10.000Z (about 1 year ago)
- Last Synced: 2024-10-31T07:49:34.445Z (about 2 months ago)
- Language: TypeScript
- Size: 81.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-roll-dice
[![NPM version][npm-image]][npm-url]
[![Build][github-build]][github-build-url]
![npm-typescript]
[![License][github-license]][github-license-url]You can clone it and step by step create your own NPM package and publish it.
It is an react roll Dice.
[**Live Demo**]("")
## Installation:
```bash
npm install react-roll-dice
```## Usage:
Add `Dice` to your component:
```javascript
import Dice from 'react-roll-dice'export default function Home() {
return (
Default:
)
}
```# How to colaborate
## Install the dependencies
```bash
npm install
```## install the dependencies of example page
This step is necessary to visualize the change during development:
```bash
cd ./example && npm install && cd ..
```Use the [semântic commit](https://www.conventionalcommits.org/en/v1.0.0/#summary)
[npm-url]: https://www.npmjs.com/package/react-roll-dice
[npm-image]: https://img.shields.io/npm/v/react-roll-dice
[github-license]: https://img.shields.io/github/license/gapon2401/react-roll-dice
[github-license-url]: https://github.com/gapon2401/react-roll-dice/blob/master/LICENSE
[github-build]: https://github.com/gapon2401/react-roll-dice/actions/workflows/publish.yml/badge.svg
[github-build-url]: https://github.com/gapon2401/react-roll-dice/actions/workflows/publish.yml
[npm-typescript]: https://img.shields.io/npm/types/react-roll-dice