0.0.2 • Published 3 years ago

@hongtangyun/react-native-shortcuts v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-native-shortcuts

Getting started

$ npm install @hongtangyun/react-native-shortcuts --save

Mostly automatic installation

$ react-native link @hongtangyun/react-native-shortcuts

Usage

import shortcuts from '@hongtangyun/react-native-shortcuts';

shortcuts.AddPinnedShortcut({
  id: '001',
  icon: 'https://dummyimage.com/114x114/02adea&text=icon',
  label: '测试',
  link: 'hongtangyun://platformapi/startapp?appId=test',
  description: '测试桌面快捷方式‘,
})