rn-crypto-icons-svg
v0.1.11
Published
Crypto Icon SVG for React Native
Downloads
112
Maintainers
Readme
rn-crypto-icons-svg
Crypto Icons in SVG for React Native (450+ tokens)
Installation
yarn add rn-crypto-icons-svg
Usage
Just import it and use it like any other React Native component. Shapes can be'circle', 'square', 'octagonal', and 'hexagonal'.
Optional param tilt can be used to tilt the icon.
import Crypto from 'rn-crypto-icons-svg'
// ...
export default function App() {
return (
<View style={styles.container}>
<Crypto name='UST' size={200} shape='octagonal' />
</View>
)
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
})
License
MIT