Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 763 Bytes

File metadata and controls

23 lines (15 loc) · 763 Bytes

HookUI-Framework

The HookUI-Framework is reusable React code and CSS styles you can use to save a bit of time, if you want your UI to look like the built-in Game UI.

For more detailed document, check out the repository for HookUI-Framework: https://github.com/Captain-Of-Coit/hookui-framework

Installation

First install the project with npm, make sure you have a package.json before installing dependencies (or run npm init once first). Then run:

npm install captain-of-coit/hookui-framework

Then you can access the built-in components with their styling by importing the right component:

import {$Panel} from 'hookui-framework'

<$Panel title="My first panel" react={react}>
    <h1>This is inside the panel</h1>
</$Panel>