@altenull/github-lang-to-icon
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

github-lang-to-icon

@altenull/github-lang-to-icon package version npm weekly downloads github-lang-to-icon is released under the MIT license React Typescript

React component that converts the GitHub language into an icon.

⚙️ Installation

$ npm install --save @altenull/github-lang-to-icon

🚀 Quick Start

import { GithubLangToIcon } from '@altenull/github-lang-to-icon';

render() {
  return (
    <GithubLangToIcon
      lang="TypeScript"
      size={64}
    />
  );
}

Props

Prop Type Default Description
lang GithubLang | LowercasedGithubLang type LowercasedGithubLang = Lowercase<GithubLang>
size number | undefined 40 Icon's width & height
style React.CSSProperties | undefined

Supported Languages

GithubLang(type) Icon(svg)
'C'
'Clojure'
'CoffeeScript'
'C++'
'C#'
'CSS'
'Dart'
'Elixir'
'Elm'
'Erlang'
'F#'
'Go'
'Groovy'
'Haskell'
'HTML'
'Java'
'JavaScript'
'Julia'
'Kotlin'
'Lua'
'Markdown'
'MATLAB'
'Nix'
'Objective-C'
'OCaml'
'Perl'
'PHP'
'Python'
'R'
'Ruby'
'Rust'
'Scala'
'SCSS'
'Shell'
'Stylus'
'Swift'
'TypeScript'
'Vim Script'

📝 License

Licensed under the MIT.

Package Sidebar

Install

npm i @altenull/github-lang-to-icon

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

305 kB

Total Files

48

Last publish

Collaborators

  • altenull