NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

Trying o migrate accordion from V2.x and the documentation is not available

Open janet-rivas opened this issue 3 years ago • 4 comments

Description

Trying o migrate accordion from V2.x and the documentation is not available

CodeSandbox/Snack link

Trying o migrate accordion from V2.x and the documentation is not available

Steps to reproduce

  1. Go to https://docs.nativebase.io/3.0.x/migration/accordion
  2. See error 404

NativeBase Version

3.3.1

Platform

  • [ ] Android
  • [ ] CRA
  • [ ] Expo
  • [ ] iOS
  • [ ] Next

Other Platform

web Documentation

Additional Information

https://docs.nativebase.io/3.0.x/migration/accordion

janet-rivas avatar Mar 16 '22 22:03 janet-rivas

Hi @janet-rivas, use This link for V3 upgradation.

Viraj-10 avatar Mar 23 '22 06:03 Viraj-10

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 25 '22 20:05 stale[bot]

Accordion component is not yet fully supported in verison 3. We'll add Accordion soon. Thanks for your patience.

surajahmed avatar Jun 03 '22 05:06 surajahmed

Took me hours to figure out why v3 didn't come with an Accordion while v2 has one. I tried using the Accordion component in v3 but nothing was rendered lol. Looking forward to this component.

kanamui avatar Jun 11 '22 12:06 kanamui

any update on this?, the API is already on v3 3.4.21,

I tried this and it's rendered successfully

<Accordion index={[0]}>
  <Accordion.Item>
    <Accordion.Summary>First Element</Accordion.Summary>
    <Accordion.Details>First Element Details</Accordion.Details>
  </Accordion.Item>
  <Accordion.Item>
    <Accordion.Summary>Second Element</Accordion.Summary>
    <Accordion.Details>Second Element Details</Accordion.Details>
  </Accordion.Item>
</Accordion>

but I'm not sure how to use it the proper way since we don't have guide on the docs

bryanprimus avatar Nov 16 '22 09:11 bryanprimus

Any news on the release of this component?

Silinde87 avatar May 17 '23 09:05 Silinde87

@Silinde87 I didn't have the time to be patient and wait for NativeBase to build their Accordion component, so I built my own. You can see it in my open-source UI library built on NativeBase here.

OneHatRepo avatar May 17 '23 14:05 OneHatRepo