An open API service indexing awesome lists of open source software.

https://github.com/abranhe/react-pll

<Pll/> React Programming Language Logo Component.
https://github.com/abranhe/react-pll

pll programming-languages-logos react

Last synced: 3 months ago
JSON representation

<Pll/> React Programming Language Logo Component.

Awesome Lists containing this project

README

        

# react-pll [![gh](https://github.com/abranhe/react-pll/workflows/build/badge.svg)](https://github.com/abranhe/react-pll/actions) [![travis](https://img.shields.io/travis/abranhe/react-pll)](https://travis-ci.org/abranhe/react-pll) [![license](https://img.shields.io/github/license/abranhe/react-pll.svg)](https://github.com/abranhe/react-pll/blob/master/license) [![npm](https://img.shields.io/npm/v/react-pll.svg?logo=npm)](https://github.com/abranhe/react-pll)

[](https://languages.abranhe.com)

> A React component for [programming-languages-logos](https://github.com/abranhe/programming-languages-logos).

I currently use this package on [languages.abrannhe.com](https://languages.abrannhe.com)

- [Install](#install)
- [Usage](#usage)
- [Props](#props)
- [Related](#related)
- [License](#license)
- [Demo](https://react-pll.demos.abranhe.com)
- [Demo source code](https://github.com/abranhe/public-demos/tree/master/react-pll)

## Install

```
$ npm install react-pll
```

Other options?

###### ⚠️ DEPRECATED

```
$ npm install @programming-languages-logos/react
```

Using [Github Registry](https://github.com/features/packages)?

```
$ npm install abranhe@react-pll
```

## Usage

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

export default () => {
return(

);
};
```

## 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:

```js

```

### Related

- [programming-languages-logos](https://github.com/abranhe/programming-languages-logos): High Resolution Programming Languages Logos.

## License

MIT © [Carlos Abraham](https://github.com/abranhe)