Mobile component library, build consistent design system for React Native & Web
// with npm
npm install --save @shuttle-ui/components
// with yarn
yarn add @shuttle-ui/components
import React from 'react';
import { Provider } from '@shuttle-ui/components';
const App = () => {
return (
<Provider>
<Button>Hello World</Button>
</Provider>
)
}Install
yarn add react-native react-native-web
Add to config
export default {
alias: {
'react-native$': 'react-native-web'
},
extraBabelIncludes: [
'react-native-animatable',
'react-native-root-siblings'
]
}Install @craco/craco
yarn add -D @craco/craco
...to be continued
...to be continued