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.
- Host: GitHub
- URL: https://github.com/abranhe/react-pll
- Owner: abranhe
- License: mit
- Created: 2020-01-01T18:38:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-03T20:56:30.000Z (10 months ago)
- Last Synced: 2025-03-18T20:06:57.759Z (3 months ago)
- Topics: pll, programming-languages-logos, react
- Language: JavaScript
- Homepage: https://languages.abranhe.com
- Size: 72.3 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- Funding: .github/funding.yml
- License: license
Awesome Lists containing this project
README
# react-pll [](https://github.com/abranhe/react-pll/actions) [](https://travis-ci.org/abranhe/react-pll) [](https://github.com/abranhe/react-pll/blob/master/license) [](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)