Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@appsimples/atlantica-react-native
Advanced tools
npm login
and you are good to goTo add this lib to your project, simply run yarn add @appsimples/atlantica-react-native
A theme is an object of the type ATLTheme. It can be added in a file as such:
export const theme = {
// Colors
ColorPrimary: '#0073E1',
ColorLightNeutral: '#9E9E9E',
ColorDarkNeutral: '#464646',
...
}
In your App.tsx
file, wrap your screen with the theme provider, providing the previously created theme.
import React, { Component } from 'react'
import { RootNavigation } from './src/navigation/RootNavigation'
import { ATLThemeProvider } from '@appsimples/atlantica-react-native'
import { theme } from './src/theme/Themes'
import { ATLTheme } from '../build/src/theme/ThemeProvider'
export default class App extends Component<> {
render() {
return (
// ATLThemeProvider is needed here order to have the same theme throughout the whole app
<ATLThemeProvider theme={theme as ATLTheme}>
<RootNavigation />
</ATLThemeProvider>
)
}
}
That's all the necessary setup! Now you can finally use a component.
Now you simply have to import it into your screen and use it.
import { ATLButton } from '@appsimples/atlantica-react-native'
...
return (
<ATLButton
title={'MyButton'}
onPress={onPressMyButton}
/>
)
For more information on the usage of each component, visit our API documentation here.
Your components receive its values from the theme we created on step 2 of this guide. However, if you want a particular instance of it to look different, it can be done by overriding its initial props and replacing it with the desired values. In the example that follows, we want this specific instance of the button to have a fontSize of 30.
import { ATLButton } from '@appsimples/atlantica-react-native'
...
return (
<ATLButton
title={'MyButton'}
onPress={onPressMyButton}
buttonBaseProps={{
fontSize: 30
}}
/>
)
FAQs
#### Permission
The npm package @appsimples/atlantica-react-native receives a total of 22 weekly downloads. As such, @appsimples/atlantica-react-native popularity was classified as not popular.
We found that @appsimples/atlantica-react-native demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.