Drawing Triangles in React Native
I have decided to focus on open-sourcing all the components I have built for React Native. Starting with the Triangle! https://t.co/F1ohUA9poE
— Dani Akash 🧪💥 (@dani_akash_)
June 5, 2020
I always come across a scenario where my UI needs a triangle view. Also I needed fine control over all aspects of the triangle view. Hence I built @react-native-toolkit/triangle view based on the well known CSS trick to create triangles on the web.
As my requirements grew, I was adding more features to the library and now it supports almost all possible triangles you need. Hence I’m open sourcing it today for general use.
I initially used react-native-triangle but it’s configuration is fairly limited and I couldn’t control many of the triangle properties. Hence this library became a necessity.
Also, I have started to work on open sourcing all the libraries I built for react native over the years for my personal projects. Will be slowly moving them over to React Native Toolkit. Stay tuned for future updates!