@taoyage/react-mobile-ui
v1.8.9
Published
A react mobile components lib
Downloads
28
Readme
✨ Feature
- 💎 A set of high-quality React components out of the box.
- 💪 Written in TypeScript, providing a complete type definition.
- 📝 Provide complete documentation.
- 😎 Support on-demand import and Tree Shaking.
- ⚡️ Support Vite and Webpack.
- 🌵 Modern browsers.
- 🌝 Support SSR.
Installation
$ npm install @taoyage/react-mobile-ui --save
or
$ pnpm install @taoyage/react-mobile-ui
or
$ yarn install @taoyage/react-mobile-ui
Code Snippet
import ReactDOM from 'react-dom/client';
import { Button } from '@taoyage/react-mobile-ui';
function App() {
return <Button>Default Button</Button>;
}
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(<App />);