Socket
Book a DemoInstallSign in
Socket

ncore-mobile

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ncore-mobile

NİBGAT® | Core Component Library for React-Native.

1.0.0-pre-alpha.1
latest
Source
npmnpm
Version published
Maintainers
0
Created
Source


NİBGAT® | NCore Mobile Component Library

Documentation

Please visit for docs: NCore Mobile

Example

yarn example-android
or
yarn example-ios

Dependencies

If you install with yarn these packages will already be installed.

  • ncore-context: >= 0.1.0-pre-alpha.6
  • react-native-gesture-handler: >= 2.13.1
  • react-native-modalize: >= 2.1.1
  • react-native-portalize: >= 1.0.7
  • react-native-simple-toast: >= 3.0.1
  • react-native-svg: >= 13.14.0

Base Library

  • The library is exporting sample base components to be used in react project you can test it like this :
    • NPM: npm install ncore-mobile react-native-gesture-handler react-native-modalize react-native-portalize react-native-svg react-native-simple-toast --save
    • YARN: yarn add ncore-mobile
import React from 'react';
import {
    View
} from 'react-native';
import {
    NCoreTheme,
    NCore
} from "ncore-mobile";

const Home = () => {
    const {
        activeTheme,
        colors
    } = NCoreTheme.useContext();

    return <View
        style={{
            backgroundColor: colors.layer1,
            justifyContent: "center",
            alignItems: "center",
            flex: 1
        }}
    >
        Welcome to Home Page. Your theme is: {activeTheme}
    </View>;
};

const App = () => {
    return <NCore.Provider>
        {your project codes... (navigation, etc.)}
    </NCore.Provider>;
}
export default App;

License

MIT + NİBGAT® | License - OSL

Discord

NİBGAT® | Community

Keywords

react-native

FAQs

Package last updated on 02 Nov 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.