accountphoto-react
v1.0.3
Published
React component lib for AccountPhoto.
Downloads
6
Readme
accountphoto-react
React component lib for AccountPhoto.
Install
npm install --save accountphoto-react
Usage
import React, { Component } from 'react'
import AccountPhoto from 'accountphoto-react'
class Example extends Component {
render () {
return (
// simply add `account` name as prop.
<AccountPhoto account={'zachzachzach'} />
// overwrite `style` by passing to component.
)
}
}
License
MIT © zachalam