π± A mobile component library based on the React framework
- π 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.
$ npm install @taoyage/react-mobile-ui --save
or
$ pnpm install @taoyage/react-mobile-ui
or
$ yarn install @taoyage/react-mobile-ui
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 />);