React Native tutorial in Hindi #34 Status Bar

Sdílet
Vložit
  • čas přidán 10. 02. 2023
  • Instragram Id : code.steps
    Here we will learn about how to status bar and how to update the style of the status bar in react native Hindi beginners series. This React native course is made by anil Sidhu in the Hindi language.
    Points of video
    What is State Bar
    How to Update Style for Status Bar
    Hide and Show Status Bar
    Update status with Button Press
    Interview Question
    React js Latest Playlist in Hindi: • React tutorial for beg...
    inst id: @code.steps

Komentáře • 12

  • @RajeshSharma-el7oj
    @RajeshSharma-el7oj Před rokem +1

    Sir please must humble request to you 🙏🙏🙏 please continue the java course with DSA 🙏🙏🙏🙏 because your way of explaining is very amazing and helpful for every person....

  • @Lovepreet-xs5qi
    @Lovepreet-xs5qi Před 11 měsíci

    Thank you so much Sir

  • @laxmanbaisoya65
    @laxmanbaisoya65 Před rokem

    Thank you sir

  • @vakulsaxena2105
    @vakulsaxena2105 Před rokem

  • @esdip812
    @esdip812 Před 4 měsíci

    Sir buttom bar ko kaise hide kare, mobile ki button ko

  • @pritambag1895
    @pritambag1895 Před 10 měsíci

    Sir bottom navigation ka color kaise change kare?

  • @viksjangid7751
    @viksjangid7751 Před rokem

    Laravel with shopify pr video bnaoge kya sir ???

  • @ashishvishwakarma4655

    sir Java videos kab tak ayenge?

  • @Adarsh78618
    @Adarsh78618 Před 10 měsíci

    Sir ios ka status bar kaise krein

  • @Tom_Jerry2449
    @Tom_Jerry2449 Před rokem +1

    sir dosry button oo toggle krny ka tarika btayne please

    • @MUTHUMANIS-qi1xy
      @MUTHUMANIS-qi1xy Před rokem

      const [barStyle, setBarStyle] = useState(false);
      // rest of code
      setBarStyle(!barStyle)}
      />

  • @azmatalica
    @azmatalica Před 7 měsíci

    Toggle Status bar Style :
    const STYLES = ['default', 'dark-content', 'light-content'];
    const [statusBarStyle, setStatusBarStyle] = useState(STYLES[0]);
    const changeStatusBarStyle = () => {
    const styleId = STYLES.indexOf(statusBarStyle) + 1;
    if (styleId === STYLES.length) {
    setStatusBarStyle(STYLES[0]);
    } else {
    setStatusBarStyle(STYLES[styleId]);
    }
    };
    apply on button press:
    onPress={changeStatusBarStyle}