0.2.0 • Published 11 months ago

@ray-js/components-ty v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

English | 简体中文

@ray-js/components-ty

latest download

涂鸦风格跨端组件库

To provide a superior development experience and more powerful feature support, we recommend switching from the current extension component library to the new SmartUI Component Library. SmartUI is not only actively maintained but also offers numerous advantages for MiniApp development:

  • Cross-Platform Preview: Easily view the performance of components across different platforms to ensure consistency and high quality.
  • Online Editing: Achieve real-time online editing and preview through Codesandbox, accelerating the development process and enhancing efficiency.

Installation

$ npm install @ray-js/components-ty
// or
$ yarn add @ray-js/components-ty

Usage

import { TyDialog, TyTypography, TyAlert, TyPicker, TyTimePicker, TySwipeout, TyInput, TyActionsheet, TyCell, TyPopover, TySlider, TySwitch, TyProgressBar, TyProgressCircle } from '@ray-js/components-ty';

Note: Some components have child components or methods that need to be invoked through static properties or static methods,e.g. TyDialog.useDialogTyPopover.ItemTyCell.Item.

Design

See MiniProgram UI Specification