Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jessgusclark/rns-react-components
React Components for RSK Nameservice
https://github.com/jessgusclark/rns-react-components
Last synced: 21 days ago
JSON representation
React Components for RSK Nameservice
- Host: GitHub
- URL: https://github.com/jessgusclark/rns-react-components
- Owner: jessgusclark
- Created: 2020-01-10T12:42:28.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T05:17:45.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T05:49:07.464Z (about 1 month ago)
- Language: JavaScript
- Size: 1.88 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RNS React Components
Once complete, this npm package will contain reuable components for RNS.
To show all of the components that are offered, install and run the app.
```
npm install
npm run
```## AddressInput
Accepts an address or a RSK domain name and on success, it resolves an address.
- callback (required) - the function that will return either an address or an error.
- strings (optional) - optional parameters to change text.
- injectHtml (optional) - ability to add text between the input box and the button. This is used in the RNS manager in multiple places ususally to insert _.rsk_ after the input box.### Simple Usage:
```
```
### Full/Expanded Useage:
```
.rsk
}
}
/>
```