-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change CollapseHeader text if isCollapse is True #6
Comments
Hi @Base29 , |
My goal was to change the text within the when the toggled ... When toggled the isCollapse turn to true ... I have a state that holds the initial text for 'View Order Detail' and when isCollapse is = true then it should change to 'Hide Order Detail' ... I want to know is there a function which change |
here is the code in paste bin ... https://pastebin.com/hkrXyHi3 the above mentioned code is on line 369 |
So any way to change the when isCollapse = true ? |
You need only to manage the Collapse state yourself by providing its current state ( toggled or not)
|
Hello Guys ... I want to change the text within the when toggled .. here is my code
there is a state collapseHeaderText with a default value 'View Order Detail"
The text was updated successfully, but these errors were encountered: