How should I use icons? I want to use icons on my website but the catch is I want them conditional like I want to add social links and I only want icons I’ve in the state like:
social: [ [ "Facebook", "https://fb.com/username", ], [ "Twitter", "https://twitter.com/username", ] ]
But I want if I’ve to add/remove a social link I haven’t to add it manually in code but simply change it in the state.
Like I can do that using font awesome library like:
..., [ "Facebook", "https://fb.com/username", "fa fa-facebook" ],
But this is the ugly method of loading the whole CDN library and the other method is I simply add svg code here still looks bad and prohibited in docs that state size shouldn’t be big.
What’s your workaround here?