Base components
npm install @telus-uds/components-baseThe UDS base components are a set of low level react-native components themed by UDS themes.
Refer to the UDS monorepo README for details.
``javascript
npm install @telus-uds/components-base
`
To ensure proper functionality, it is important to install the brand palette and theme since the components package does not include a default theme. For example, you can install the Telus brand palette and theme by running the following command:
`javascript
npm install @telus-uds/palette-allium @telus-uds/theme-allium
`
This will provide the necessary components, along with the corresponding palette and theme, for your project.
1. Export component as a named export from root
2. Wrap the UDS component in an BaseProvider
3. Include the BaseProvider provider once at the root of your application (e.g. in App.jsx)
`javascript
import { BaseProvider, Button } from '@telus-uds/components-base'
import alliumTheme from '@telus-uds/theme-allium'
...
...
...
...
``