All Articles

React Native Lightbulb Toggle

Written by Jamie Taylor on June 20, 2023

Recently created a simple toggle using React Native and thought I’d share. The example uses Native Base & Material Icons, however any alternative should work.

Installation

  1. Clone Repo (or copy code/dependencies).
  2. Run NPM Install or Yarn Add to install dependencies.

Notes

  • Any alternative to Native Base should work, however I have not tested this. You should be able to test easily by editing here.
  • Any icons should work as well, though matching shape and size will look best.

Let's Discuss Your Digital Marketing Needs

Contact us today to learn more about how our digital marketing services can help your business grow and succeed online.