Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
}
}
/>
```