1.0.6 • Published 3 years ago

react-os-icons v1.0.6

Weekly downloads
21
License
MIT
Repository
github
Last release
3 years ago

react-os-icons

Tools to get os svg.

Install

yarn add react-os-icons
# or
npm i react-os-icons --save

Change log

https://github.com/Achaak/react-os-icons/blob/master/CHANGELOG.md

Functions

getOSIcon

Return the SVG of os.

Example:

const Component = getOSIcon({ os: "Windows", className: "class", style: { marginTop: 42 }, size: 42 })

Variables

OSList

Return the managed list of os.

Example:

console.log(OSList) // "Windows" | "Android" | "Fedora" | "Debian" | "Linux" | "Mac OS" | "Nintendo" | "PlayStation" | "BlackBerry" | "Ubuntu" | "Unix" | "Arch" | "iOS" | "Linux Mint" | "Elementary OS"

Crédits

https://github.com/edent/SuperTinyIcons

1.0.6

3 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago