New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-ratchet-components

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-ratchet-components

react-ratchet-components, source from https://github.com/lzcmaro/react-ratchet

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

react-ratchet-componnent

本项目基于react,封装了ratchet的组件。直接使用了另外的项目react-ratchet的代码

##React v0.1.4 support

##local setup

  • install

npm install react-ratchet-componnent

  • use

有以下的组件: Badge, Button, Card, Fade, Form, FormButton, Select, ActionSheet, Scroll, Icon, Input, Link, List, Media, Modal, NavBar, NavButton, NavPopover, Page, Portal, SegmentedControl, Slider, SliderItem, TabBar, Toggle, Transition

例子如下:

var {Badge} = require('react-ratchet-componnent');
var badgeInstance = (
  <div>
      <Badge>1</Badge>
      <Badge ratStyle="primary">2</Badge>
      <Badge ratStyle="positive">3</Badge>
      <Badge ratStyle="negative">4</Badge>
      
      <Badge inverted>1</Badge>
      <Badge ratStyle="primary" inverted>2</Badge>
      <Badge ratStyle="positive" inverted>3</Badge>
      <Badge ratStyle="negative" inverted>4</Badge>
  </div>
);

ReactDOM.render(badgeInstance, mountNode);

Keywords

react

FAQs

Package last updated on 08 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts