0.0.1 • Published 4 years ago

react-pll v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

react-pll gh travis license npm

A React component for programming-languages-logos.

I currently use this package on languages.abrannhe.com

Install

$ npm install react-pll
⚠️ DEPRECATED
$ npm install @programming-languages-logos/react

Using Github Registry?

$ npm install abranhe@react-pll

Usage

import React from 'react';
import Pll from 'react-pll'

export default () => {
  return(
    <Pll
      alt="Python Logo"
      height={30}
      language="python"
    />
  );
};

Props

A cheatsheet of all available props.

PropTypeDefaultDescription
languagestringcppThe programming language logo
fallbackanynullOptional fallback tha renders if the given language doesn't exist

You can also add the images props.

Example:
<Pll language="swift" alt="The Swift Logo">

Related

License

MIT © Carlos Abraham