Skip to content

matejpekar/react-native-scrollable-tabs

react-native-scrollable-tabs

This is a package for implementing scrollable tabs such as AirBnb filter tabs

Installation

yarn add @matejpekar/react-native-scrollable-tabs

or

npm install @matejpekar/react-native-scrollable-tabs

Usage

import ScrollableTabs, {
  ScrollIndicator,
} from '@matejpekar/react-native-scrollable-tabs';

// ...

export default () => {
  const { width } = useWindowDimensions();

  return (
    <ScrollableTabs width={width} scrollIndicator={<ScrollIndicator />}>
      <Tab />
      // ...
    </ScrollableTabs>
  );
};

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published