README.md 1.2 KB


NİBGAT® | NCore Web Component Library

Documentation

Please visit for docs: NCore Web

Dependencies

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

  • react-jss

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-web --save
    • YARN: yarn add ncore-web

      import {
      NCoreProvider,
      useNCoreTheme,
      Button
      } from 'ncore-web';
      
      const Home = () => {
      const {
      activeTheme
      } = useNCoreTheme();
      
      return <div>
      Welcome to Home Page. Your theme is: {activeTheme}
      </div>;
      };
      
      const App = () => {
      return <NCoreProvider>
      <div className="App">
          <Button title="hi" />
      </div>
      </NCoreProvider>;
      }
      

Discord

NİBGAT® | Community