You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Dropdownable component's story is configured so that it is wrapped in the <DropdownStory />. This is used to manage the state and functionality of the component.
The Code option in the component Docs page serves as a reference for how to use the component. With this HOC component wrapping it we cannot see the example of how to use this component.
To fix this, we can remove the file containing the DropdownStory wrapper component and move that logic into the component story, so that it allows for the Dropdownable component code to fully display.
For an example of how a component was refactored in a similar way you can reference this work: #989
If this is your first experience working with Storybook stories, they have great documentation to reference, along with the other story files we have throughout the project.
Acceptance Criteria
Update the Dropdownable.stories.tsx file so that the code example will display how to use the component.
Contribution Guide
If this is your first time contributing to UI Kit, please review the How to Contribute guide beforehand.
The text was updated successfully, but these errors were encountered:
Description
The Dropdownable component's story is configured so that it is wrapped in the
<DropdownStory />
. This is used to manage the state and functionality of the component.The Code option in the component Docs page serves as a reference for how to use the component. With this HOC component wrapping it we cannot see the example of how to use this component.
To fix this, we can remove the file containing the DropdownStory wrapper component and move that logic into the component story, so that it allows for the
Dropdownable
component code to fully display.For an example of how a component was refactored in a similar way you can reference this work: #989
If this is your first experience working with Storybook stories, they have great documentation to reference, along with the other story files we have throughout the project.
Acceptance Criteria
Update the
Dropdownable.stories.tsx
file so that the code example will display how to use the component.Contribution Guide
If this is your first time contributing to UI Kit, please review the How to Contribute guide beforehand.
The text was updated successfully, but these errors were encountered: