knomedia / yelp_viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yelp_viewer

React component to display Yelp star rating, review counts, and link to Yelp

Example Usage

Tests

Pull down, npm install and then:

npm run tests

Usage

Install

npm install --save-dev yelp_viewer
<YelpViewer rating={rating}
            count={count}
            url={url}
            template={template} />

Default styles are availabe in CSS

import 'yelp_viewer/dist/yelp_viewer.css';

About


Languages

Language:JavaScript 87.7%Language:CSS 11.9%Language:SCSS 0.4%