Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ModuleExpandable: added external collapsing control (expandedIndex an…
…d onExpandedChange) (#1323) ModuleExpandable: added external collapsing control (expandedIndex and onExpandedChange) with Tests and Docs examples ![Kapture 2021-01-15 at 16 11 23](https://user-images.githubusercontent.com/10593890/104779055-6810e200-574c-11eb-9cbe-27e7e9cb28bd.gif) <!-- What is the purpose of this PR? added external control extExpandedId and setExtExpandedId for ModuleExpandable component added tests updated docs * What is the context surrounding this PR? Include links if possible. We need external control to expand/collapse ModuleExpandable programmatically. * What kind of feedback do you want? * Have you [formatted the PR title](https://github.com/pinterest/gestalt/#releasing)? `ComponentName: Description` --> <!-- How can reviewers verify this is good to merge? * Is it tested? Y * Is it accessible? Y * Is it documented? Y * Have you involved other stakeholders (such as a Pinterest Designer)? -->
- Loading branch information
1 parent
f43a787
commit a157e3a
Showing
7 changed files
with
432 additions
and
8 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
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
Oops, something went wrong.