1.1.3 • Published 1 year ago
@wux-ui/react v1.1.3
WuX-UI-React - All WuX-UI React components.
Use WuX-UI-React to write WuX-UI components elegantly
Install
npm install @wux-ui/react
Usage
import WuX from '@wux-ui/react';
Quick start
Copy this file to index.js in the src
folder
import React from "react";
import { createRoot } from "react-dom/client";
import WuX from "@wux-ui/react";
createRoot(document.getElementById('root')).render(
<WuX.Header
title='WuX-UI-React Debug Page'
small='Menu'
option={[
{ title: 'Github', link: 'https://github.com/wux-ui/wux-ui-react-docs' },
{ title: 'Offical Page', link: 'https://react.wux-ui.tk/', bold: true },
<div />
]}
/>
);
Then use npm start
in the main folder to start the React project