ncore-web
v1.0.5-pre-alpha.13
Published
NİBGAT® | Ncore - Web Component Library
Downloads
23
Maintainers
Readme
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
- NPM:
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