GeekyAnts / NativeBase

Mobile-first, accessible components for React Native & Web to build consistent UI across Android, iOS and Web.
https://nativebase.io/
MIT License
20.16k stars 2.38k forks source link

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

Open janet-rivas opened 2 years ago

janet-rivas commented 2 years ago

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

Other Platform

web Documentation

Additional Information

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

Viraj-10 commented 2 years ago

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

stale[bot] commented 2 years ago

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.

surajahmed commented 2 years ago

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

charles-mendoza commented 2 years ago

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.

bryanltobing commented 1 year ago

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

Silinde87 commented 1 year ago

Any news on the release of this component?

OneHatRepo commented 1 year ago

@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.