TVke / react-native-tailwindcss

A react-native style system based on TailwindCSS
https://tvke.github.io/react-native-tailwindcss/
MIT License
565 stars 34 forks source link

Add cursor plugin #24

Closed alexluong closed 4 years ago

alexluong commented 4 years ago

22

Hi, here's my try at creating a cursor plugin.

The cursor properties can only be used with react-native-web.

Can you give me some guidance on how to run test this (both writing Jest test and run scripts to confirm what I'm doing works)? In other words, is there a CONTRIBUTING doc somewhere that can guide me through setting up the environment and how to start contirbuting?

Thanks @TVke for your work on this project!

TVke commented 4 years ago

Hi @alexluong

for the testing you can simply copy one of the tests in this file: https://github.com/TVke/react-native-tailwindcss/blob/master/__tests__/tailwind.test.js

and add the expected output in tests > fixtures > outputs > tailwind > cursor.js

greetings Thomas

TVke commented 4 years ago

closing this PR as there is no activity for more then 3 months