Skip to content

Magic Leap system icons used by Lumin Runtime and MagicScript Components

License

Notifications You must be signed in to change notification settings

magic-script/system-icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

system-icons module

A module that contains the Lumin system icons that can optionally be used with a React Native project that utilizes the react-native-magic-script library. After installing this module, the magic-script components will automatically use the new icons.

Install steps

Prerequisites: app should base on React-Native >= 0.60.0

  • in main folder of your app create assets/lumin_system_icons folder (if it doesn't exist): mkdir -p assets/lumin_system_icons
  • add lumin-system-icons to your project dependencies eihter by: yarn add git+https://github.com/magic-script/lumin-system-icons or npm install --save git+https://github.com/magic-script/lumin-system-icons
  • execute yarn or npm install
  • create (or update if it exists) react-native.config.js with lines:
module.exports = {
  assets: ['./assets/lumin_system_icons'],
};
  • execute react-native link
$ react-native link
info Linking assets to ios project
warn Group 'Resources' does not exist in your Xcode project. We have created it automatically for you.
info Linking assets to android project
success Assets have been successfully linked to your project

All lumin-system-icons files are copied into desired location and linked into the platform specific code.

About

Magic Leap system icons used by Lumin Runtime and MagicScript Components

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages