yiimaker/yii2-social-share

Configurator: 'enableIcons' & 'enableDefaultAsset' instead 'enableDefaultIcons'

dimmitri opened this issue · 1 comments

Many use a set of icons from other developers (Font Awesome).
If you enable the setting 'enableDefaultIcons', the page loaded styles for your icons (SocialIconsAsset).

'icons' => [
     \ymaker\social\share\drivers\Facebook::class => 'fab fa-facebook',
     \ymaker\social\share\drivers\GooglePlus::class => 'fab fa-google-plus-g',
 ],

'enableIcons' - display icons instead of text.
'enableDefaultAsset' - use your icon styles.

@dimmitri Good suggestion, it will be implemented. Thank you!