react-google-url-shortner
This package includes google url shortner
Last updated 3 years ago by stejascobra .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-google-url-shortner 
SYNC missed versions from official npm registry.

react-google-url-shortner

npm package for react

This module creates short-url for the given url.

Props

  • url (Required) - Add url you want to shorten.
  • GOOGLE_API_KEY - Api Key created from google Project.

Usage

import GoogleUrlShortner from 'react-google-url-shortner';

// ...

class Foo extends Component {
    render() {
        return (
            <GoogleUrlShortner
              url="{example url here}" 
              GOOGLE_API_KEY="{YOUR project API key here}"
            />
        );
    }
}

Author : stejas123

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 0
Dependencies (7)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |