https://github.com/revolunet/react-pinout
RaspberryPi pinout React component
https://github.com/revolunet/react-pinout
pinout raspberry-pi react react-component
Last synced: 9 months ago
JSON representation
RaspberryPi pinout React component
- Host: GitHub
- URL: https://github.com/revolunet/react-pinout
- Owner: revolunet
- Created: 2016-12-09T23:36:18.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-18T21:45:25.000Z (over 8 years ago)
- Last Synced: 2025-04-24T01:12:41.651Z (9 months ago)
- Topics: pinout, raspberry-pi, react, react-component
- Language: JavaScript
- Homepage: https://revolunet.github.io/react-pinout/
- Size: 843 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# react-pinout [![npm package][npm-badge]][npm]
RaspberryPi pinout React component
Heavily inspired from [pinout.xyz](http://pinout.xyz)

[Demo][demo]
## Usage
```js
import { RaspberryPi } from 'react-pinout'
const RaspberryPi = redirect(pin.href) } />
```
`pins` is an array composed of 40 items :
```json
{
"physicalPort": 1,
"href": "/pinout/pin1_3v3_power",
"title": "",
"details": "",
"label": "3v3 Power",
"shape": "square",
"color": "#B58900"
}
```
[npm-badge]: https://img.shields.io/npm/v/react-pinout.png?style=flat-square
[npm]: https://www.npmjs.org/package/react-pinout
[demo]: http://revolunet.github.io/react-pinout