1 2 3 4 5 6 7 8
@inject('svg', 'Lightscale\LaralightSvg\SvgService') @props([ 'collection', 'name', ]) <svg {{ $attributes }}> <use href="{{ $svg->getSvgUrl($collection, $name) }}" /> </svg>