Giter VIP home page Giter VIP logo

Comments (5)

TaylorBriggs avatar TaylorBriggs commented on September 26, 2024

Hi @hvardhan617. Sorry you're having an issue. Can you let me know which versions of React and React Native you're using? Are you seeing this problem on Android or iOS or both? What happens when you pass the style as a plain object instead of using StyleSheet.flatten?

from react-native-typewriter.

hvardhan617 avatar hvardhan617 commented on September 26, 2024

Hi @TaylorBriggs .
Am using RN version 0.49.5 and "react": "16.0.0",
Actually am using this in my VR app written in React 360 which uses similar components as React native.
I tried using plain style object which did not work for all properties except color,then i went through the issues and changed it to Stylesheet.flatten

Code that isnt working-

TypeWriter style={{fontSize:30,fontWeight:"bold",color:'yellow'}} typing={1}
{this.state.keithVoice}
/TypeWriter

The above code isnt working for properties fontSize and fontWeight

from react-native-typewriter.

TaylorBriggs avatar TaylorBriggs commented on September 26, 2024

Hi @hvardhan617. I think your best solution is to fork this repository and make it depend on React 360 instead of React Native. The Text component in React 360 looks similar to that from React Native, but there's likely differences under the hood that are affecting how the style prop is handled. All of the style is passed directly to the Text component here, so it should work for the supported styles in React 360.

from react-native-typewriter.

TaylorBriggs avatar TaylorBriggs commented on September 26, 2024

@hvardhan617 maybe v0.5.4 fixes your issue?

from react-native-typewriter.

TaylorBriggs avatar TaylorBriggs commented on September 26, 2024

Closing due to inactivity and that this library is for react native, not react 360.

from react-native-typewriter.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.