2.0.0 • Published 2 years ago

react-hackernews v2.0.0

Weekly downloads
11
License
MIT
Repository
-
Last release
2 years ago

react-hackernews

Add a HackerNews feed to your React app.

Installation

$ npm install react-hackernews

or

$ yarn add react-hackernews

Usage

import React from 'react';
import HackerNews from 'react-hackernews';

const MyComponent = () => <HackerNews />;

Options

NameAllowed valuesDefault
type'new', 'top', 'best', 'ask', 'show', 'job''top'
limitnumber10
import React from 'react';
import HackerNews from 'react-hackernews';

const MyComponent = () => <HackerNews type="new" limit="100" />;

Styling

The feed is wrapped in a container with the classname "react-hackernews".

License

This package is open-sourced software licensed under the MIT license

2.0.0

2 years ago

1.3.0

2 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.7.0

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.3.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago