1.0.0-pre-alpha.0 • Published 1 year ago
isinolacak-web v1.0.0-pre-alpha.0
Documentation
Please visit for docs: IOCore 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 isinolacak-web --save
- YARN:
yarn add isinolacak-web
- NPM:
import {
IOCoreProvider,
useIOCoreTheme,
Button
} from 'isinolacak-web';
const Home = () => {
const {
activeTheme
} = useIOCoreTheme();
return <div>
Welcome to Home Page. Your theme is: {activeTheme}
</div>;
};
const App = () => {
return <IOCoreProvider>
<div className="App">
<Button title="hi" />
</div>
</IOCoreProvider>;
}
1.0.0-pre-alpha.0
1 year ago