0.0.23 • Published 3 years ago
hlym-reactui v0.0.23
UI React Component Project (WIP)
Installing as a dependency
npm install -i hlym-reactui
or
yarn add hlym-reactui
Usage
import React from 'react'
import { Button } from 'hlym-reactui';
export default const App = () => <Button>hahah</Button>
entry file add global CSS
import React from 'react';
import ReactDOM from 'react-dom';
import 'hlym-reactui/lib/style/entry.css'
import App from './App';
import reportWebVitals from './reportWebVitals';
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
);
reportWebVitals();