Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve README #1

Open
ignacioureta opened this issue Sep 6, 2018 · 1 comment
Open

Improve README #1

ignacioureta opened this issue Sep 6, 2018 · 1 comment

Comments

@ignacioureta
Copy link

Purpose

This seems like a potentially good package, but i can't use it because there aren't any instructions on how to use it. please improve that and I'll gladly try it

@n33pm
Copy link

n33pm commented Sep 6, 2018

@ignacioureta
install https://www.npmjs.com/package/numeral

import React, {Component} from "react";
import numeral from "numeral";

export class App extends Component {
    render() {
        return <span>{numeral("123456").format("0.0a")}</span>;
    }
}

export default App;

cheers.wugy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants