Skip to content

Animated Tabs

A button which changes it’s appearance if tapped

Installation

  1. Install component
    Terminal window
    npm install @cascadeui/animated-tabs
  2. Add react-native-reanimated plugin into babel.config
    module.exports = {
    presets: [
    ... // don't add it here :)
    ],
    plugins: [
    ...
    'react-native-reanimated/plugin',
    ],
    };

Props

PropTypeDescription
tabsstring[]Array of string containing name of the tabs.

Note:To add the content in the tabs you have to do it manually in core component code