@props([ 'type' => 'organization', 'data' => [], ]) @php $partial = 'components.json-ld.'.str_replace('_', '-', (string) $type); if (! view()->exists($partial)) { $partial = 'components.json-ld.organization'; } @endphp @include($partial, ['data' => $data])