Bläddra i källkod

Add viewportContent usage to Readme

iou90 5 år sedan
förälder
incheckning
942802801f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      README.md

+ 1
- 1
README.md Visa fil

@@ -44,7 +44,7 @@ import { Dimensions } from 'react-native'
44 44
     }]}
45 45
     source={{ html: `<p style="font-weight: 400;font-style: normal;font-size: 21px;line-height: 1.58;letter-spacing: -.003em;">Tags are great for describing the essence of your story in a single word or phrase, but stories are rarely about a single thing. <span style="background-color: transparent !important;background-image: linear-gradient(to bottom, rgba(146, 249, 190, 1), rgba(146, 249, 190, 1));">If I pen a story about moving across the country to start a new job in a car with my husband, two cats, a dog, and a tarantula, I wouldn’t only tag the piece with “moving”. I’d also use the tags “pets”, “marriage”, “career change”, and “travel tips”.</span></p>` }}
46 46
     scalesPageToFit={true}
47
-    zoomable={false}
47
+    viewportContent={'width=device-width, user-scalable=no'}
48 48
     /*
49 49
     other react-native-webview props
50 50
     */