blob: d28f37b3e0c3507e36313567b1566e06d5606bf3 (
plain)
1
2
3
4
5
6
7
|
export default function Icon({ brand, name }) {
const groupClass = brand ? 'fab' : 'fa'
const iconClass = `fa-${name}`
return <span className={[groupClass, iconClass].join(' ')} />
}
|