{% import '@SyliusUi/Macro/buttons.html.twig' as buttons %}

{% set path = options.link.url|default(path(options.link.route|default(grid.requestConfiguration.getRouteName('create')), options.link.parameters|default([]))) %}

{% set labeled = options.labeled is defined ? options.labeled : true %}
{{ buttons.create(path, action.label, null, labeled) }}
