react-native-hr icon indicating copy to clipboard operation
react-native-hr copied to clipboard

Doesn't accept style props

Open jdpigeon opened this issue 7 years ago • 7 comments

neither through lineStyle={{}}, direct (i.e. margin={}) or enclosed in a View (disappears)

jdpigeon avatar Apr 19 '17 18:04 jdpigeon

Are you installing the library via npm link or github link?

priyesh9875 avatar Apr 19 '17 18:04 priyesh9875

#4

priyesh9875 avatar Apr 19 '17 18:04 priyesh9875

npm.

Here's the type of code I was trying to make work:

import Hr from 'react-native-hr';

<Hr lineColor={'white'} lineStyle={{margin: 20}}>

Is the documentation out of date?

jdpigeon avatar Apr 19 '17 18:04 jdpigeon

Documentation is correct. But latest git commit is not in npm, so you are using older version.

Check out issue #4

priyesh9875 avatar Apr 20 '17 04:04 priyesh9875

@Riglerr Can we get this updated on npm?

stuharvey avatar May 23 '17 15:05 stuharvey

+1

calcazar avatar Sep 21 '17 18:09 calcazar

+1

GetSource1234 avatar Feb 12 '18 14:02 GetSource1234