react-brasileirao-logos
v1.0.4
Published
A React Components with logos of Brazilian football teams.
Downloads
12
Readme
React Brasileirão Logos
Install
$ npm i react-brasileirao-logos
Usage
import React from "react";
import { FLA } from "react-brasileirao-logos";
const Example = () => {
return <FLA />; // Loads the Flamengo logo
};
export default Example;
or include all icons
import React from "react";
import * as Icons from "react-brasileirao-logos";
const Example = () => {
return <Icons.FLA />; // Loads the Flamengo logo
};
export default Example;
Configuration
Size can be easily configured (Default of 100px)
import React from "react";
import { FLA } from "react-brasileirao-logos";
const Example = () => {
return (
<div>
<FLA size={60} />
<FLA /> // Default of 100px
<FLA size={140} />
</div>
);
};
export default Example;
Results in