simple-icons/example.js

12 lines
310 B
JavaScript
Raw Normal View History

const SimpleIcons = require('./');
console.log(SimpleIcons['500px'].svg);
/*
{ title: '500px',
hex: '0099E5',
source: 'https://about.500px.com/press',
name: '500px',
svg: '<svg aria-labelledby="simpleicons-500px-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">...</svg>' }
*/