npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mcrn-ui

v0.0.7

Published

A UI Lib for React Native

Downloads

39

Readme

mcrn-ui

npm npm GitHub license

A UI Lib for React Native

Start

1. Install

npm install mcrn-ui --save

2. Use

// 主题设置
import { ThemeProvider } from 'mcrn-ui';

<ThemeProvider theme={{ primaryColor: 'rgb(36,199,208)' }}}>
  <App />
</ThemeProvider>
import React, {
  Component,
} from 'react';
import Btn from 'mcrn-ui/Btn';

function Demo(props) {
  return <Btn />;
}

Demo

将项目克隆至本地后:

1. Install

npm install && cd ios && pod install & cd ..

2. Run

react-native run-ios

Overview

🖌 designing(6) 🛠 developing(1) done(32)

Component

Name | Description | State ---------- | ----------- | ----- ActionSheet | 上拉按钮组 | ✅ AddAndSubtract | 加减法动画组件 | ✅ Alert | 警告弹框 | ✅ All | 页面容器 | ✅ Badge | 角标 | ✅ Btn | 按钮 | ✅ CardView | 卡片视图 | ✅ Checkbox | 选择框 | 🖌 Confirm | 确认弹框 | ✅ Dialog | 对话框 | ✅ Drop | 掉落动画组件 | ✅ DynamicText | 文本框(滚动显示过长文字)| ✅ HeaderedSheet | 有标题栏的底部弹层 | ✅ Icon | 字体图标 | 🖌 ImgHolder | 带占位的图片 | ✅ ImgPicker | 图片选择组件 | ✅ ImgRollView | 图片选择组件 | ✅ KeyboardAdaptiveView | 适应键盘的容器 | ✅ Loading | 菊花加载中动画 | ✅ LoadingBtn | 带菊花图的按钮 | 🖌 NavBar | 导航栏 | ✅ Number | 数字 | 🛠 NumericKeyboard | 虚拟数字键盘 | ✅ Overlay | 遮罩层 | ✅ PhoneNumInput | 手机号码输入框 | ✅ PlaceholderInput | 可以自定义占位元素的输入框 | ✅ PlaceholderText | 有占位元素的文本显示组件 | ✅ Progress | 进度条 | ✅ RefreshView | 滚动列表(带下拉刷新、上拉加载) | ✅ Select | 选择器(带有向上弹出和向下隐藏的动画、遮罩、取消确定标题栏) | 🖌 Sheet | 底部弹层 | ✅ SlideMenu | 侧滑菜单 | 🖌 SmsCaptchaInput | 短信验证码输入框 | ✅ TabBar | 横向点击栏 | ✅ ToolTip | 提示框 | ✅ VirtualPasswordInput | 虚拟密码输入框 | ✅ Web | 类微信浏览器 | 🖌 主题切换 | 主题配置切换功能 | ✅

Util

Name | Description | State ---------- | ----------- | ----- transPxToDp | 像素(px)转虚拟像素(dp)方法 | ✅ Validator | 表单校验工具 | ✅

Base on rnx-ui thanks rnxteam