stocktwits-react-text-js

1.0.4 • Public • Published

stocktwits-react-text-js

A Reactified version of the cash tag link from stocktwits-text-js.

This simple component was created to abstract display requirements from stocktwits on 3rd party websites.

Example Usage

import React from 'react';
import {CashtagLink} from 'stocktwits-react-text-js';
 
export default class MyComponent extends React.Component {
  render() {
    return (
      <CashtagLink text='FB'/>
    );
  }
}
 

Output

<a class="stwt-url cashtag" href="http://stocktwits.com/symbol/FB">$FB</a>

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Stocktwits for providing a sweet API!

Readme

Keywords

Package Sidebar

Install

npm i stocktwits-react-text-js

Weekly Downloads

1

Version

1.0.4

License

ISC

Last publish

Collaborators

  • evonsdesigns