2.5.2 • Published 28 days ago
@sourcetoad/tamagui-react-native v2.5.2
Tamagui React Native
A starter kit isolated specifically for React Native for Tamagui.
If you use Expo - DO NOT use this. You are welcome to just use tamagui
.
Install
npm i --save-dev @sourcetoad/tamagui-react-native
- Create/edit the
assets
region ofreact-native.config.js
module.exports = {
project: {
ios: {},
android: {},
},
assets: [
'./node_modules/@tamagui/font-inter/otf'
],
};
Run
npx react-native-asset
Add this line to top of
babel.config.js
process.env.TAMAGUI_TARGET = 'native'
- Add to
babel.config.js
[
'@tamagui/babel-plugin',
{
components: ['@sourcetoad/tamagui-react-native'],
config: './tamagui.config.js',
logTimings: true,
disableExtraction: process.env.NODE_ENV === 'development'
}
],
[
'transform-inline-environment-variables',
{
include: 'TAMAGUI_TARGET'
}
]
2.5.0
2 months ago
2.4.0
6 months ago
2.5.2
28 days ago
2.5.1
1 month ago
2.3.0
8 months ago
2.3.1
8 months ago
2.2.0
2 years ago
2.0.2
2 years ago
2.1.0
2 years ago
1.0.0
2 years ago
0.9.9
2 years ago
0.9.8
2 years ago
0.9.7
2 years ago
0.9.6
2 years ago
0.9.5
2 years ago
0.9.4
3 years ago
0.9.3
3 years ago
0.9.2
3 years ago
0.9.1
3 years ago