Skip to content

Accordion titles are not rendered #3413

@Kolyunya

Description

@Kolyunya

I have gone through these following points

Issue Description

node, npm, react-native, react and native-base version, expo version if used, xcode version

» node_modules/.bin/react-native info
info Fetching system and libraries information...
System:
    OS: Linux 5.10 Arch Linux
    CPU: (4) x64 Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz
    Memory: 15.17 GB / 23.43 GB
    Shell: 5.1.4 - /bin/bash
  Binaries:
    Node: 15.7.0 - /usr/bin/node
    Yarn: Not Found
    npm: 6.14.11 - /usr/bin/npm
    Watchman: Not Found
  SDKs:
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
  Languages:
    Java: 10.0.2 - /usr/bin/javac
    Python: 3.9.1 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: ^17.0.0 => 17.0.1 
    react-native: https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz => 0.63.2 
    native-base: ^2.15.2 => 2.15.2
  npmGlobalPackages:
    *react-native*: Not Found

Expected behaviour

Accordion title is rendered.

Actual behaviour

Accordion title is not rendered.

Steps to reproduce

Expo.io demo snack.

  1. Add an Accordion component.
  2. See that titles are not rendered.

Is the bug present in both iOS and Android or in any one of them?

The bug is present on both platforms.

Any other additional info which would help us debug the issue quicker.

The component docs are also broken: the expanded prop expects an array, not a number. So, maybe it's the problem with the docs and the property is expected to be called something else instead of title.

Screenshots

Screenshot_20210201_203715

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions