-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix(web-twig): Add the missing
isOpen
prop to Collapse
- Loading branch information
1 parent
c1cdbec
commit e65e7d8
Showing
5 changed files
with
31 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ests/__snapshots__/ComponentsSnapshotTest__test with data set collapseOpened.twig__1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<html><body> | ||
<button data-toggle="collapse" data-target="CollapseExample1" aria-expanded="true" class="Button Button--primary Button--medium" type="button">Toggle</button> | ||
<div id="CollapseExample1" class="Collapse"> | ||
<div id="CollapseExample1" class="Collapse is-open"> | ||
<div class="Collapse__content">Content </div> | ||
</div> | ||
</body></html> |
2 changes: 1 addition & 1 deletion
2
packages/web-twig/tests/components-fixtures/collapseOpened.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<Button data-toggle="collapse" data-target="CollapseExample1" aria-expanded="true">Toggle</Button> | ||
<Collapse id="CollapseExample1">Content</Collapse> | ||
<Collapse id="CollapseExample1" isOpen>Content</Collapse> |