Closed steveoriol closed 1 year ago
{{ pattern('button', {title: 'Link title', url: 'http://example.com'}, 'your_variant') }}
Thank you @christianwiedemann
I think this issue can be closed.
I can't, I don't know how this repository is configured and who is allowed to close issue if only maintainers can.
How to choose the variant when you use the twig "pattern" method, I did not find in the documentation : https://ui-patterns.readthedocs.io/en/8.x-1.x/content/developer-documentation.html#render-patterns-using-twig-functions
{{ pattern('button', {title: 'Link title', url: 'http://example.com'}) }}
Thank you very much for this great module! :-)