Skip to content

package-dev/react-native-hexagon-svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install:

npm install react-native-hexagon-svg

Example :

import { StyleSheet, Text, View } from 'react-native'
import React from 'react'
import Hexagon from 'react-native-hexagon-svg'
export default function App() {
  return (
    <View style={styles.container}>
      <Text>App</Text>
      <Hexagon width={200} />
    </View>
  )
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center'
  }
})
Prop Type Default Description
width number 100 set the diameter of the hexagon

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published