0.2.5 • Published 9 years ago

react-animated-label v0.2.5

Weekly downloads
7
License
MIT
Repository
github
Last release
9 years ago

React Animated Label

An animated label component for React.js

Demo

NPM

Installation

npm install react-animated-label --save-dev

Usage

Webpack

import React from 'react';
import AnimatedLabel from 'react-animated-label';
// Import the CSS
import 'node_modules/react-animated-label/lib/react-animated-label.css';

React.createClass({
  render: function() {
    return (
    	<AnimatedLabel value={this.props.yourValue} />
    );
  }

});

Non-webpack

var React = require('react');
var AnimatedLabel = require('react-animated-label');

React.createClass({
  render: function() {
    return (
    	<AnimatedLabel value={this.props.yourValue} />
    );
  }

});

Note

You must include the CSS for this component to work. Include the component stylesheet in your page <link rel="stylesheet" type="text/css" href="node_modules/react-animated-label/lib/react-animated-label.css">

Inspired by Chartbeat's cb-animated-label

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.1

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago