Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature/details component #237

Merged
merged 5 commits into from
Oct 25, 2021
Merged

Feature/details component #237

merged 5 commits into from
Oct 25, 2021

Conversation

Ibabalola
Copy link
Contributor

  • created Details Component
  • added Demo of Details Component
  • added seperate section for 0.3 release component
  • added storybook story for unstyled, styled, live and documentation
  • added 100% test coverage for Range component
  • renamed test.ts file name to test.tsx file

Screenshot 2021-10-18 at 22 06 22

@Ibabalola Ibabalola added the new component new component label Oct 18, 2021
@Ibabalola Ibabalola added this to the 0.3 milestone Oct 18, 2021
@Ibabalola Ibabalola self-assigned this Oct 18, 2021
@Ibabalola Ibabalola linked an issue Oct 18, 2021 that may be closed by this pull request
@Ibabalola Ibabalola removed this from the 0.3 milestone Oct 18, 2021
Copy link
Collaborator

@nikusharmadcx nikusharmadcx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

export const DetailsDemo = () => (
<>
<h1>Simple Details Component</h1>
<Details details="detail information to shown" summary="summary headline" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's slightly different from what we describe in the ticket. the main question I've is how I can put something more complex in the summary? If my hidden content is for example a table this component can't be used anymore

Copy link
Contributor Author

@Ibabalola Ibabalola Oct 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood, updated to address the concern @daniele-zurico

<Details summary={ This can only be a string }> YOUR COMPONENT </Details>

@Ibabalola Ibabalola merged commit e895ebb into release/0.3 Oct 25, 2021
@daniele-zurico daniele-zurico deleted the feature/details-component branch March 14, 2024 11:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a Details component
3 participants