What's Changed
- Bump aglipanci/laravel-pt-action from 2.3.0 to 2.3.1 by @dependabot
- ✨ make it easier to render QR anywhere your app
Render the QR Code.
you can render the QR code any component that accept HTML usg the QR Facade:
Qr::render(data:'dataOrUrl')
and it's accept these options:
?strg $data = null,
?array $options = null,
strg $statePath = 'url',
strg $optionsStatePath = 'options',
bool $downloadable = true
Usage with Table and Infolist
to sert the QR code any FilamentPHP table or folist, it's better to be displayed a popover or modal,
and you can use our plug Popover:
PopoverEntry::make('name')
->trigger('click')
->placement('right')
->offset([0, 10])
->popOverMaxWidth('none')
->icon('heroicon-o-chevron-right')
->content(Qr::render(data:'dataOrUrl')),
Changes:
rename the function qrRender
to render
, only affect if you're usg it manually
New Contributors
- @dependabot made their first contribution