2.0.5 • Published 4 months ago

react-native-hexagon-svg v2.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

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'
  }
})
PropTypeDefaultDescription
widthnumber100set the diameter of the hexagon
2.0.5

4 months ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago