Skip to content

Latest commit

 

History

History
81 lines (57 loc) · 2.16 KB

readme.md

File metadata and controls

81 lines (57 loc) · 2.16 KB

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
Other options?
⚠️ 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.

Prop Type Default Description
language string cpp The programming language logo
fallback any null Optional 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