React-MCUI
A Minecraft Components Library for React.
npm install react-mcui
Usage/Examples
import { Typography, Button } from 'react-mcui';
import 'react-mcui/dist/index.css';
function App() {
return (
<Typography variant="body" color="black">
This is a test button
</Typography>
<Button label="Click me!" onClick(() => console.log("Hello world!")) />
);
}
Run Locally
Clone the project
git clone https://github.com/osaxely/react-mcui.git
Go to the project directory
cd react-mcui
Install dependencies
npm install
Start the server
npm run storybook
Authors