This is a package for implementing scrollable tabs such as AirBnb filter tabs
yarn add @matejpekar/react-native-scrollable-tabsor
npm install @matejpekar/react-native-scrollable-tabsimport ScrollableTabs, {
ScrollIndicator,
} from '@matejpekar/react-native-scrollable-tabs';
// ...
export default () => {
const { width } = useWindowDimensions();
return (
<ScrollableTabs width={width} scrollIndicator={<ScrollIndicator />}>
<Tab />
// ...
</ScrollableTabs>
);
};See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT