React Native components (iOS/Android) for Salesforce Basic UI Theme.
- work in progress
- we need your feedback
- add to an existing React Native project:
npm install git+ssh://git@github.com:ForceDotComLabs/react.force.base.theme.git --save
- if RNPM is not yet installed:
npm install rnpm -g
- link the library:
rnpm link
Import statement:
import Theme from 'react.force.base.theme';Button Brand JSX code:
<Theme.Buttons.Base.Brand
label="Button Brand"
onPress={()=>{
alert('Clicked!')
}} />Result:
Utility Icon JSX code:
<Theme.Icons.Utility name="like" />Result:
