1.0.1 • Published 3 years ago

@christiansahlstrom/nhl-cool-widget v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

NHL widget for showing upcoming and recently played games for current season (Sample project)

How to use

Basic usage

import { Schedule } from  '@christiansahlstrom/nhl-cool-widget';

const Component = () => (
	<>
		<Schedule />
	</>
);

export default Component;

With team id filtering activated

import { Schedule } from  '@christiansahlstrom/nhl-cool-widget';

const Component = () => (
	<>
		<Schedule filterActive={shouldFilter} teamId={21} />
	</>
);

export default Component;

Check here for getting the team ID that you want to use: https://statsapi.web.nhl.com/api/v1/teams

Note that this is just an example component

1.0.1

3 years ago

0.3.2

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago