0.7.5-fix2 • Published 4 years ago

@spacecycle/teaset v0.7.5-fix2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Teaset

🇨🇳中文完整文档版

A UI library for react native, provides 20+ pure JS(ES6) components, focusing on content display and action control.

0.7.5-fix1

修复ListRow/TouchableOpacity.js中引用react-native/Libraries/Animated/src/Easing的问题。在RN0.64.0中,已经取消了src目录。

Installation

npm install --save teaset

Example

Clone teaset project from github (or download zip file):

git clone https://github.com/rilyu/teaset.git
cd teaset/example
npm install

To run example on iOS:

cd ios && pod install && cd ..
react-native run-ios

To run example on Android:

react-native run-android

Tips: In the Android system, the animations is not smooth, switch to the release mode can be resolved.

iPhoneX

iPhoneX and iPhoneXS are fully supported after 0.6.0, and this option is true by default.

If SafeAreaView is used, please use Theme.set({fitIPhoneX: false}) to manually turn off it.

Redux

If you use Redux, you need to use the <TopView> package container (thanks @Alexorz ).

import { TopView } from '@spacecycle/teaset';

container => () => <Provider store={store}><TopView>{container}</TopView></Provider>

Documentation

The document is being written, please refer to the example source code.

Translation project

Screenshots

Components

npm.io npm.io

Theme

npm.io npm.io npm.io

Label

npm.io

Button

npm.io

Checkbox

npm.io

Input

npm.io

Select

npm.io npm.io npm.io

Stepper

npm.io

SearchInput

npm.io

Badge

npm.io

Popover

npm.io

NavigationBar

npm.io

ListRow

npm.io

Carousel

npm.io

Projector

npm.io

SegmentedBar

npm.io npm.io npm.io

SegmentedView

npm.io

TabView

npm.io npm.io

TransformView

npm.io

AlbumView

npm.io npm.io

Wheel

npm.io

Overlay

npm.io npm.io npm.io npm.io npm.io npm.io

Toast

npm.io npm.io npm.io

ActionSheet

npm.io

ActionPopover

npm.io

PullPicker

npm.io

PopoverPicker

npm.io

Menu

npm.io npm.io

Drawer

npm.io npm.io

ModalIndicator

npm.io

License

MIT