1.0.0-pre-alpha.0 • Published 1 year ago

isinolacak-web v1.0.0-pre-alpha.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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
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>;
}