@platformbuilders/react-native-elements
v0.4.51
Published
Platform Builders Shared Components Library For React Native
Readme
AVISO IMPORTANTE
Este repositório existe apenas para fins de compatibilidade temporária com projetos legados.
Para novos projetos ou manutenção contínua, utilize sempre o repositório oficial: @platformbuilders/fluid-react-native
Este fork só deve ser utilizado caso você precise de compatibilidade com versões antigas e não possa migrar imediatamente para a versão oficial.
@platformbuilders/react-native-elements
Welcome to the @platformbuilders/elements package here you will find out all of our components shared with the community
Whats the idea of this repository
Its a place that we can share a little bit of our code base and show how we work on our projects with our components!
How can i use the library?
Here's how you add our dependencie to your project @platformbuilders/elements
- depend on it:
yarn add @platformbuilders/react-native-elements- import the ThemeProvider from styled-components and provide the Theme following the ThemeType definition.
import { ThemeProvider } from 'styled-components';
import { ThemeType } from '@platformbuilders/react-native-elements';
const theme: ThemeType = { ... };
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>- use it
import { Button } from '@platformbuilders/react-native-elements';