Skip to content

Commit

Permalink
Fix(web-twig): Collapse content element props
Browse files Browse the repository at this point in the history
  • Loading branch information
tomassychra committed Jan 12, 2023
1 parent 6440ef3 commit 17e7542
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{{ _parentAttr }}
{{ classProp(_classNames) }}
>
<div class="{{ _contentClassName }}">
<{{ _elementType }} class="{{ _contentClassName }}">
{%- block content %}{% endblock %}
</div>
</{{ _elementType }}>
</{{ _elementType }}>
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ attributes to register trigger events.
| `breakpoint` | `string` | `null` | no | Breakpoint level [mobile,tablet,desktop] |
| `parent` | `string` | `null` | no | A parent element selector that ensures that only one item is opened \* |
| `class` | `string` | `null` | no | Custom CSS class |
| `elementType` | `string` | `'div'` | no | Custom element type |
| `elementType` | `string` | `'div'` | no | Custom element type for wrapper and content |

(\*) Attribute for Accordion implementation

Expand Down

0 comments on commit 17e7542

Please sign in to comment.