
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@widergy/mobile-ui
Advanced tools
react-native-vector-icons
is needed as a peer dependency.
Please, follow react-native-vector-icons installation guide before installing mobile-ui
.yarn add @widergy/mobile-ui
.react-native-image-resizer
, react-native-image-picker
and react-native-document-picker
which you will have to link after installing.
To do so, the command react-native link <package-name>
should suffice.
If not, refer to each library documentation.To configure the theming of your app, you must add the ThemeProvider
high in your component tree.
Check the docs here
import { ThemeProvider } from '@widergy/mobile-ui';
const theme = {
colors: {
effect: 'red'
}
};
const App = () => (
<ThemeProvider theme={theme}>
{/** your code here **/}
</ThemeProvider>
)
export default App;
utils
: Useful commonly used js functions.
components
: Common mobile team components
Touchable
: A component that provides the capability to capture tapping gestures and displays native feedback when a gesture is recognized. Check the docs here.Icon
: Render an icon using react-native-vector-icons. Check the docs here.IconButton
: : Render an icon using react-native-vector-icons, wrapped by Touchable
. Check the docs here.ActivityIndicator
: Displays a loading indicator. Check the docs here.Snackbar
: Shows a bottom bar to display notifications. Check the docs here.RadioGroup
: Simple and easy to use radio buttons, that allows users to select a specific option among an array of options. Check the docs here.HOCs
: mobile team commonly used HOCs
withLoading
: Displays a view with an activity indicator. Check the docs here.Create a new tag, release branch and push it to github using yarn run release $version
A new version is published on npm using bitrise every time we push commits on master
.
To publish a new version manually, follow the next steps:
npm adduser
npm login
npm publish
FAQs
Widergy Mobile Components
The npm package @widergy/mobile-ui receives a total of 95 weekly downloads. As such, @widergy/mobile-ui popularity was classified as not popular.
We found that @widergy/mobile-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.