/clxx

Some lightweight H5 components and features

Primary LanguageTypeScriptMIT LicenseMIT

React-based H5 features and component libraries

Collection of common functions and components for mobile H5 environment

Sorry, Doc Will Coming Soon...

Features

  • Based on react hooks and CSS IN JS
  • No css file dependencies
  • Adopt vw unit, adaptive mobile UI

Tested version of typescript: v4.1.3

Examples

examples are created using create react app and most of the features are available in demos

Install

yarn add clxx

npm install clxx

Usage

// Display a popup box that can replace the system window.alert

import { showAlert } from "clxx"; 
showAlert('Pop up box test');

Implemented functions

Display a pop-up box right in the middle of the screen

Rotation Announcement

Countdown

General dialog box

Indicator Indicator

Universal Loading

ScrollView scrolling container

showToast Light Tip

ImagePicker

...